flask-server/configure.sh

11 lines
232 B
Bash
Raw Normal View History

2024-10-08 13:20:00 -04:00
if [ ! -d env ]; then
python -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
fi
if [ ! -f movielist.sqlite ]; then
source env/bin/activate
python -m flask --app kinolist init-db
fi