Commit 235342e9 authored by Zac Wood's avatar Zac Wood

Merge branch 'v2.3' of git.gmu.edu:srct/go into v2.3

parents 3cf16d7c 3ff351a5
Pipeline #4753 passed with stages
in 1 minute and 57 seconds
version: '3.7'
services:
web:
build: .
# build: .
restart: always
ports:
- '8000:8000'
command: /bin/bash ./startup.sh -python go/manage.py runserver 0.0.0.0:8000
command: /bin/bash ./startup_prod.sh
image: go-prod
volumes:
- .:/go
depends_on:
......
......@@ -50,7 +50,7 @@ MEDIAFILES_DIRS = (
)
STATIC_URL = '/static/'
STATIC_ROOT = ''
STATIC_ROOT = '/static'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static/'),
)
......
......@@ -6,3 +6,4 @@ python go/manage.py createsuperuser --noinput --username=$superuser --email=$sup
echo "from django.contrib.auth import get_user_model; User = get_user_model(); me = User.objects.get(username='$superuser'); me.first_name = 'David'; me.last_name = 'Haynes'; me.save(); " | python go/manage.py shell
python go/manage.py collectstatic --noinput
gunicorn -b ":8000" --chdir /go/go settings.wsgi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment