workout/bash/run-prod.sh

2 lines
144 B
Bash

#!/bin/sh
yes yes | python3 manage.py migrate && python3 manage.py collectstatic --noinput && gunicorn workout.wsgi -b 0.0.0.0:8000 --log-file -