finalize container for now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e07273c9be
commit
635b963c1a
1 changed files with 2 additions and 0 deletions
2
start.sh
2
start.sh
|
@ -24,6 +24,8 @@ if [ -f ~/NexusDashboard/app/luclient/res/CDServer.sqlite ]; then
|
||||||
echo "moving CDServer.sqlite to cdclient.sqlite"
|
echo "moving CDServer.sqlite to cdclient.sqlite"
|
||||||
mv ~/NexusDashboard/app/luclient/res/CDServer.sqlite ~/NexusDashboard/app/luclient/res/cdclient.sqlite
|
mv ~/NexusDashboard/app/luclient/res/CDServer.sqlite ~/NexusDashboard/app/luclient/res/cdclient.sqlite
|
||||||
fi
|
fi
|
||||||
|
[ ! -f ~/NexusDashboard/app/luclient/res/cdclient.sqlite ] && echo "cdclient.sqlite not found" && exit 1
|
||||||
|
echo "pre-check done"
|
||||||
cd ~/NexusDashboard
|
cd ~/NexusDashboard
|
||||||
echo "run database migration"
|
echo "run database migration"
|
||||||
flask db upgrade
|
flask db upgrade
|
||||||
|
|
Loading…
Add table
Reference in a new issue