Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
ae0523c2
Commit
ae0523c2
authored
Dec 06, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable deprecation warnings for Django 1.11 apps.
parent
accae1ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
playbooks/roles/edx_django_service/templates/edx/app/app/app.sh.j2
+2
-2
playbooks/roles/edxapp/templates/cms.conf.j2
+2
-2
playbooks/roles/edxapp/templates/lms.conf.j2
+2
-2
No files found.
playbooks/roles/edx_django_service/templates/edx/app/app/app.sh.j2
View file @
ae0523c2
...
...
@@ -5,9 +5,9 @@
{
%
set
edx_django_service_venv_bin
=
edx_django_service_venv_dir +
"/bin"
%
}
{
%
if
COMMON_ENABLE_NEWRELIC_APP %
}
{
%
set
executable
=
edx_django_service_venv_bin +
'/newrelic-admin run-program '
+ edx_django_service_venv_bin +
'/gunicorn'
%
}
{
%
set
executable
=
' -Wd '
+
edx_django_service_venv_bin +
'/newrelic-admin run-program '
+ edx_django_service_venv_bin +
'/gunicorn'
%
}
{
%
else
%
}
{
%
set
executable
=
edx_django_service_venv_bin +
'/gunicorn'
%
}
{
%
set
executable
=
' -Wd '
+
edx_django_service_venv_bin +
'/gunicorn'
%
}
{
% endif %
}
{
%
if
COMMON_ENABLE_NEWRELIC_APP %
}
...
...
playbooks/roles/edxapp/templates/cms.conf.j2
View file @
ae0523c2
[program:cms]
{% if COMMON_ENABLE_NEWRELIC_APP -%}
{% set executable = edxapp_venv_dir + '/bin/newrelic-admin run-program ' + edxapp_venv_dir + '/bin/gunicorn' -%}
{% set executable =
' -Wd ' +
edxapp_venv_dir + '/bin/newrelic-admin run-program ' + edxapp_venv_dir + '/bin/gunicorn' -%}
{% else -%}
{% set executable = edxapp_venv_dir + '/bin/gunicorn' -%}
{% set executable =
' -Wd ' +
edxapp_venv_dir + '/bin/gunicorn' -%}
{% endif -%}
command={{ executable }} -c {{ edxapp_app_dir }}/cms_gunicorn.py {{ EDXAPP_CMS_GUNICORN_EXTRA }} cms.wsgi
...
...
playbooks/roles/edxapp/templates/lms.conf.j2
View file @
ae0523c2
[program:lms]
{% if COMMON_ENABLE_NEWRELIC_APP -%}
{% set executable = edxapp_venv_dir + '/bin/newrelic-admin run-program ' + edxapp_venv_dir + '/bin/gunicorn' -%}
{% set executable =
' -Wd ' +
edxapp_venv_dir + '/bin/newrelic-admin run-program ' + edxapp_venv_dir + '/bin/gunicorn' -%}
{% else -%}
{% set executable = edxapp_venv_dir + '/bin/gunicorn' -%}
{% set executable =
' -Wd ' +
edxapp_venv_dir + '/bin/gunicorn' -%}
{% endif -%}
command={{ executable }} -c {{ edxapp_app_dir }}/lms_gunicorn.py lms.wsgi
...
...
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