diff --git a/script/server b/script/server index d594a7675..a9090e343 100755 --- a/script/server +++ b/script/server @@ -22,8 +22,14 @@ if [ "$ACTION" == "--docker" ]; then script/migrate python3 manage.py collectstatic --noinput mkdir -p static/css + mkdir -p static/img + mkdir -p static/js sassc --style compressed static/caps/scss/main.scss static/css/caps.css sassc --style compressed static/scoring/scss/main.scss static/css/scoring.css + cp -rf static/caps/js/* static/js/ + cp -rf static/caps/img/* static/img/ + cp -rf static/scoring/js/* static/js/ + cp -rf static/scoring/img/* static/img/ gunicorn proj.wsgi:application --bind 0.0.0.0:8000 --worker-tmp-dir /dev/shm --log-file=- --access-logfile=- else script/migrate