enable svelte build

This commit is contained in:
philipp 2023-07-16 18:34:30 +02:00
parent f38c923e09
commit bc63f9cc41
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