Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
23c2d581
Commit
23c2d581
authored
Jan 16, 2020
by
Zac Wood
Browse files
add STATIC_ROOT as env var
parent
fc6fdb80
Pipeline
#5327
failed with stages
in 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.env
View file @
23c2d581
...
...
@@ -2,6 +2,7 @@ GO_ENV=development
GO_ALLOWED_HOSTS=*
GO_EMAIL_DOMAIN=@masonlive.gmu.edu
GO_CAS_URL=https://login.gmu.edu/
GO_STATIC_ROOT=/static
GO_DB_NAME=go
GO_DB_USER=go
GO_DB_PASSWORD=go
...
...
go/settings/settings.py
View file @
23c2d581
...
...
@@ -50,7 +50,7 @@ MEDIAFILES_DIRS = (
)
STATIC_URL
=
'/static/'
STATIC_ROOT
=
'/static'
STATIC_ROOT
=
os
.
environ
[
'GO_STATIC_ROOT'
]
STATICFILES_DIRS
=
(
os
.
path
.
join
(
BASE_DIR
,
'static/'
),
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment