-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
156 changed files
with
6,675 additions
and
2,512 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ CONTACT_EMAIL='PhysioNet Contact <[email protected]>' | |
SERVER_EMAIL='PhysioNet System <[email protected]>' | ||
ERROR_EMAIL='[email protected]' | ||
|
||
# Contact address for project editors. This address may be viewable by authors. | ||
# Optionally, add "PROJECT-SLUG" to include the project slug. | ||
PROJECT_EDITOR_EMAIL='[email protected]' | ||
|
||
# Admins | ||
ADMINS_NAME=PhysioNet Technical | ||
ADMINS_MAIL=[email protected] | ||
|
@@ -60,6 +64,18 @@ AWS_VALUE=secret | |
AWS_VALUE2=secret | ||
AWS_CLOUD_FORMATION=url | ||
|
||
# AWS credentials (Access Key and Secret Key): Configure AWS credentials in the AWS CLI profile using the 'aws configure' command. | ||
AWS_PROFILE= | ||
# AWS account ID | ||
AWS_ACCOUNT_ID= | ||
# Path to the file containing credentials for AWS | ||
# (https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#shared-credentials-file) | ||
AWS_SHARED_CREDENTIALS_FILE= | ||
# The default bucket name to store projects with an 'OPEN' access policy. | ||
S3_OPEN_ACCESS_BUCKET= | ||
# The default bucket name to store logs and metrics related to project usage. | ||
S3_SERVER_ACCESS_LOG_BUCKET= | ||
|
||
# Datacite | ||
# Used to assign the DOIs | ||
# Changing the password can be done at the settings tab in DataCite website | ||
|
@@ -98,8 +114,6 @@ GCS_SIGNED_URL_LIFETIME_IN_MINUTES=1440 | |
# GCP Research Environments | ||
ENABLE_CLOUD_RESEARCH_ENVIRONMENTS="False" | ||
CLOUD_RESEARCH_ENVIRONMENTS_API_URL="https://example.api" | ||
CLOUD_RESEARCH_ENVIRONMENTS_API_JWT_SERVICE_ACCOUNT_PATH="environment/api/tests/service_account.json" | ||
CLOUD_RESEARCH_ENVIRONMENTS_API_JWT_AUDIENCE="https://example.com" | ||
|
||
# Site-specific content | ||
SITE_NAME="DataShare" | ||
|
@@ -160,6 +174,10 @@ GRADIENT_85 = 'rgba(42, 47, 52, 0.85)' | |
# maximum number of emails that can be associated to a user model | ||
MAX_EMAILS_PER_USER = 10 | ||
|
||
# maximum number of active projects that can be created by a submitting author at any time. | ||
# if MAX_SUBMITTABLE_PROJECTS is reached, the user must wait for a project to be archived or published before starting another. | ||
MAX_SUBMITTABLE_PROJECTS = 10 | ||
|
||
# Max training report size in bytes | ||
MAX_TRAINING_REPORT_UPLOAD_SIZE = 1048576 | ||
ENABLE_LIGHTWAVE=True | ||
|
@@ -187,7 +205,7 @@ MIN_WORDS_RESEARCH_SUMMARY_CREDENTIALING = 20 | |
# CITISOAPService API | ||
# This is the WebServices username and password to access the CITI SOAP Service to obtain users training report details | ||
# The account can be created at https://webservices.citiprogram.org/login/CreateAccount.aspx | ||
# The SOAP Service Access can be tested at https://webservices.citiprogram.org/Client/CITISOAPClient_Simple.aspx | ||
# The SOAP Service Access can be tested at https://webservices.citiprogram.org/Client/CITISOAPClient_Simple.aspx | ||
CITI_USERNAME= | ||
CITI_PASSWORD= | ||
CITI_SOAP_URL="https://webservices.citiprogram.org/SOAP/CITISOAPService.asmx" | ||
|
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
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,3 @@ | ||
[default] | ||
aws_access_key_id = AKIAZZZZZZZZZZZZZZZZ | ||
aws_secret_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Filter to get all background tasks and send them to a custom location | ||
:programname, isequal, "django-q2-tasks" -/data/log/background_tasks/django_q_tasks.log | ||
& stop |
18 changes: 18 additions & 0 deletions
18
deploy/production/etc/systemd/system/django-q2-tasks.service
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,18 @@ | ||
[Unit] | ||
Description=Command that runs Django Q2 tasks | ||
After=emperor.uwsgi.service | ||
|
||
[Service] | ||
Environment=DJANGO_SETTINGS_MODULE=physionet.settings.production | ||
ExecStart=/physionet/python-env/physionet/bin/python /physionet/physionet-build/physionet-django/manage.py qcluster | ||
StandardError=syslog | ||
SyslogIdentifier=django-q2-tasks | ||
Restart=always | ||
KillSignal=SIGINT | ||
Type=simple | ||
NotifyAccess=all | ||
User=www-data | ||
Group=www-data | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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,3 @@ | ||
# Filter to get all background tasks and send them to a custom location | ||
:programname, isequal, "django-q2-tasks" -/data/log/background_tasks/django_q_tasks.log | ||
& stop |
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,18 @@ | ||
[Unit] | ||
Description=Command that runs Django Q2 tasks | ||
After=emperor.uwsgi.service | ||
|
||
[Service] | ||
Environment=DJANGO_SETTINGS_MODULE=physionet.settings.staging | ||
ExecStart=/physionet/python-env/physionet/bin/python /physionet/physionet-build/physionet-django/manage.py qcluster | ||
StandardError=syslog | ||
SyslogIdentifier=django-q2-tasks | ||
Restart=always | ||
KillSignal=SIGINT | ||
Type=simple | ||
NotifyAccess=all | ||
User=www-data | ||
Group=www-data | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[run] | ||
plugins = django_coverage_plugin | ||
|
||
[django_coverage_plugin] | ||
template_extensions = html, txt, json, xml |
Oops, something went wrong.