Merge branch 'main' of gitlab.com:PhilippHofer/rot
This commit is contained in:
commit
cd7367a115
@ -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();
|
||||||
|
10
update.sh
10
update.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user