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")] #[cfg(feature = "rowing-tera")]
#[launch] #[launch]
async fn rocket() -> _ { async fn rocket() -> _ {
use sqlx::SqlitePool;
env_logger::init(); env_logger::init();
let mut connection_options = SqliteConnectOptions::from_str("sqlite://db.sqlite").unwrap(); let mut connection_options = SqliteConnectOptions::from_str("sqlite://db.sqlite").unwrap();

View File

@ -5,9 +5,9 @@ cargo b -r
cd frontend cd frontend
npm install npm install
npm run build npm run build
#cd .. cd ..
#cd rot_app cd rot_app
#npm install npm install
#npm run build npm run build
sudo systemctl restart rot sudo systemctl restart rot
#sudo systemctl restart rot-svelte sudo systemctl restart rot-svelte