1
0
forked from Hay1tsme/artemis
artemis-bugfix/entrypoint.sh

12 lines
199 B
Bash
Raw Normal View History

2023-05-04 13:46:16 +00:00
#!/bin/bash
if [[ -z "${CFG_DEV}" ]]; then
echo Production mode
python3 index.py
else
echo Development mode
python3 dbutils.py create
nodemon -w aime --legacy-watch index.py
fi