Merge branch 'main' of gitlab.com:PhilippHofer/rot

This commit is contained in:
Philipp 2023-07-16 18:34:50 +02:00
commit cd7367a115
2 changed files with 7 additions and 5 deletions

View File

@ -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();

View File

@ -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