chris-website/source/nl/netsoj/chris/blog/main.d
Chris Josten 35d5b02b5e Refractor code
* This project now should make proper use of modules
* HTTP specific logic was extracted from app.d to http.d
* Logic for managing files in memory was moved to cache.d from watcher.d
* Added license
2021-06-22 01:37:51 +02:00

28 lines
392 B
D

import std.experimental.logger;
import vibe.d;
import article;
import page;
import project;
import cache;
import http;
import watcher;
void main() {
startHTTPServer();
// Start indexing pages.
runTask({
initPages!Page(&pages, "pages");
});
runTask({
initPages!Article(&articles, "articles");
});
runTask({
initPages!Project(&projects, "projects");
});
runApplication();
}