Commit 23c2d581 authored by Zac Wood's avatar Zac Wood

add STATIC_ROOT as env var

parent fc6fdb80
Pipeline #5327 failed with stages
in 52 seconds
...@@ -2,6 +2,7 @@ GO_ENV=development ...@@ -2,6 +2,7 @@ GO_ENV=development
GO_ALLOWED_HOSTS=* GO_ALLOWED_HOSTS=*
GO_EMAIL_DOMAIN=@masonlive.gmu.edu GO_EMAIL_DOMAIN=@masonlive.gmu.edu
GO_CAS_URL=https://login.gmu.edu/ GO_CAS_URL=https://login.gmu.edu/
GO_STATIC_ROOT=/static
GO_DB_NAME=go GO_DB_NAME=go
GO_DB_USER=go GO_DB_USER=go
GO_DB_PASSWORD=go GO_DB_PASSWORD=go
......
...@@ -50,7 +50,7 @@ MEDIAFILES_DIRS = ( ...@@ -50,7 +50,7 @@ MEDIAFILES_DIRS = (
) )
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = '/static' STATIC_ROOT = os.environ['GO_STATIC_ROOT']
STATICFILES_DIRS = ( STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static/'), os.path.join(BASE_DIR, 'static/'),
) )
......
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