8 #include <Wt/Dbo/SqlConnectionPool>
10 #include "BlogRSSFeed.h"
11 #include "model/BlogSession.h"
12 #include "model/Token.h"
13 #include "model/User.h"
17 int main(
int argc,
char **argv)
24 BlogSession::configureAuth();
27 = BlogSession::createConnectionPool(server.
appRoot() +
"blog.db");
29 BlogRSSFeed rssFeed(*blogDb,
"Wt and JWt blog",
30 "http://www.webtoolkit.eu/wt/blog",
31 "We care about our webtoolkits.");
37 "/jwt",
"/css/jwt/favicon.ico");
40 "",
"/css/wt/favicon.ico");
43 WServer::waitForShutdown();
49 std::cerr << e.
what() << std::endl;
50 }
catch (std::exception &e) {
51 std::cerr <<
"exception: " << e.what() << std::endl;