Create startup.sh
This commit is contained in:
9
app/startup.sh
Normal file
9
app/startup.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
FILE=/app/app/config/app.db
|
||||||
|
if test -f "$FILE";
|
||||||
|
then
|
||||||
|
echo "$FILE exists."
|
||||||
|
else
|
||||||
|
python3 setup.py
|
||||||
|
echo "ran setup"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user