NexusDashboard/entrypoint.sh

14 lines
286 B
Bash
Raw Normal View History

2022-01-16 18:22:00 +00:00
#!/usr/bin/env bash
# unzip brickdb from client to the right places
unzip -n -q /app/luclient/res/brickdb.zip -d app/luclient/res/
2022-02-20 04:36:33 +00:00
# TODO: preconvert images options
# TODO: preconvery models options
# update the DB
2022-01-16 18:22:00 +00:00
flask db upgrade
2022-02-20 04:36:33 +00:00
# RUNNNNNNNNNNNNN
2022-01-16 18:22:00 +00:00
gunicorn -b :8000 -w 4 wsgi:app