This repository has been archived on 2023-02-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
flamenco-manager/docker/server/dev/runserver.sh
T

11 lines
342 B
Bash

#!/bin/bash
# Run setup if installed flag is not found
if [ ! -e /installed ]; then
# Enable venv, move next to alembic migration folder, run migration
. /data/venv/bin/activate && cd /data/git/server && python manage.py setup_db && cd /
touch /installed
fi
. /data/venv/bin/activate && cd /data/git/server && python manage.py runserver