diff --git a/src/main.rs b/src/main.rs index ba95c4c..e677f93 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,6 +10,8 @@ extern crate rocket; #[cfg(feature = "rowing-tera")] #[launch] async fn rocket() -> _ { + use sqlx::SqlitePool; + env_logger::init(); let mut connection_options = SqliteConnectOptions::from_str("sqlite://db.sqlite").unwrap(); diff --git a/update.sh b/update.sh index 435adb3..e5668b2 100755 --- a/update.sh +++ b/update.sh @@ -5,9 +5,9 @@ cargo b -r cd frontend npm install npm run build -#cd .. -#cd rot_app -#npm install -#npm run build +cd .. +cd rot_app +npm install +npm run build sudo systemctl restart rot -#sudo systemctl restart rot-svelte +sudo systemctl restart rot-svelte