This repository has been archived by the owner on Dec 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update_app_version
- Loading branch information
Showing
8 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker build -t relate-webui:20180823006 -f docker/relate_webui/Dockerfile . | ||
docker build -t relate-webui:20180818008 -f docker/relate_webui/Dockerfile . | ||
|
||
docker build -t relate-staticfiles-webserver:20180524 -f docker/relate_staticfiles_webserver/Dockerfile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,4 +104,6 @@ IPython | |
# vim: foldmethod=marker | ||
|
||
psycopg2-binary==2.7.5 | ||
psycopg2==2.7.4 | ||
psycopg2==2.7.4 | ||
|
||
gunicorn==19.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
from base_settings import * | ||
|
||
SECRET_KEY = '<CHANGE ME TO SOME RANDOM STRING ONCE IN PRODUCTION>' | ||
|
||
ALLOWED_HOSTS = [ | ||
"*", | ||
] | ||
|
||
CSRF_TRUSTED_ORIGINS = [ | ||
".prep-training.icttoracon.net", | ||
] | ||
|
||
# Configure the following as url as above. | ||
RELATE_BASE_URL = "http://YOUR/RELATE/SITE/DOMAIN" | ||
|
||
RELATE_CUTOMIZED_SITE_NAME = gettext_noop("ICTSC PREP SCHOOL") | ||
|
||
DATABASES = { | ||
'default': { | ||
'ENGINE': 'django.db.backends.postgresql_psycopg2', | ||
'NAME': 'relate', | ||
'USER': 'relate', | ||
'PASSWORD': '', | ||
'HOST': 'db.prep-training.icttoracon.net', | ||
'PORT': '5432', | ||
} | ||
} | ||
|
||
# {{{ git storage | ||
|
||
# Your course git repositories will be stored under this directory. | ||
# Make sure it's writable by your web user. | ||
# | ||
# The default below makes them sit side-by-side with your relate checkout, | ||
# which makes sense for development, but you probably want to change this | ||
# in production. | ||
# | ||
# The 'course identifiers' you enter will be directory names below this root. | ||
|
||
# GIT_ROOT = "/some/where" | ||
GIT_ROOT = "/var" | ||
|
||
# }}} | ||
|
||
# SECURITY WARNING: don't run with debug turned on in production! | ||
DEBUG = False | ||
|
||
TIME_ZONE = "Asia/Tokyo" | ||
|
||
# {{{ sign-in methods | ||
|
||
RELATE_SIGN_IN_BY_EMAIL_ENABLED = False | ||
RELATE_SIGN_IN_BY_USERNAME_ENABLED = True | ||
RELATE_REGISTRATION_ENABLED = False | ||
RELATE_SIGN_IN_BY_EXAM_TICKETS_ENABLED = False |