SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
ae54d272
Commit
ae54d272
authored
8 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
Alter default setting fields
parent
f47f9013
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SciPost_v1/settings/base.py
+2
-2
2 additions, 2 deletions
SciPost_v1/settings/base.py
SciPost_v1/settings/production.py
+4
-0
4 additions, 0 deletions
SciPost_v1/settings/production.py
SciPost_v1/settings/staging_release.py
+4
-0
4 additions, 0 deletions
SciPost_v1/settings/staging_release.py
with
10 additions
and
2 deletions
SciPost_v1/settings/base.py
+
2
−
2
View file @
ae54d272
...
...
@@ -233,6 +233,6 @@ CROSSREF_LOGIN_ID = ''
CROSSREF_LOGIN_PASSWORD
=
''
# Google reCaptcha
RECAPTCHA_PUBLIC_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PUBLIC_KEY
"
)
RECAPTCHA_PRIVATE_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PRIVATE_KEY
"
)
RECAPTCHA_PUBLIC_KEY
=
''
RECAPTCHA_PRIVATE_KEY
=
''
NOCAPTCHA
=
True
This diff is collapsed.
Click to expand it.
SciPost_v1/settings/production.py
+
4
−
0
View file @
ae54d272
...
...
@@ -11,6 +11,10 @@ STATIC_ROOT = '/home/jscaux/webapps/scipost_static/'
MEDIA_URL
=
'
https://scipost.org/media/
'
MEDIA_ROOT
=
'
/home/jscaux/webapps/scipost_media/
'
# Recaptcha
RECAPTCHA_PUBLIC_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PUBLIC_KEY
"
)
RECAPTCHA_PRIVATE_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PRIVATE_KEY
"
)
WEBPACK_LOADER
[
'
DEFAULT
'
][
'
CACHE
'
]
=
True
WEBPACK_LOADER
[
'
DEFAULT
'
][
'
BUNDLE_DIR_NAME
'
]
=
'
/home/jscaux/webapps/scipost_static/bundles/
'
...
...
This diff is collapsed.
Click to expand it.
SciPost_v1/settings/staging_release.py
+
4
−
0
View file @
ae54d272
...
...
@@ -7,6 +7,10 @@ from .base import *
DEBUG
=
False
ALLOWED_HOSTS
=
[
'
jdewit.webfactional.com
'
]
# Recaptcha
RECAPTCHA_PUBLIC_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PUBLIC_KEY
"
)
RECAPTCHA_PRIVATE_KEY
=
get_secret
(
"
GOOGLE_RECAPTCHA_PRIVATE_KEY
"
)
# Static and media
STATIC_URL
=
'
/static/
'
STATIC_ROOT
=
'
/home/jdewit/webapps/scipost_static/
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment