From: Grégory Burri Date: Thu, 29 Aug 2019 12:04:51 +0000 (+0200) Subject: Merge X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=212222751363c15b2155555ac700ff50b69ac578;p=recipes.git Merge --- 212222751363c15b2155555ac700ff50b69ac578 diff --cc backend/src/main.rs index fcb8e12,0536428..3063c63 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@@ -62,8 -59,9 +60,11 @@@ fn main() -> std::io::Result<()> println!("Configuration: {:?}", config); + let database_connection = db::create_or_update(); + + std::env::set_var("RUST_LOG", "actix_web=info"); + env_logger::init(); + let mut listenfd = ListenFd::from_env(); let mut server = HttpServer::new(