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
5f2dc106
Commit
5f2dc106
authored
Feb 23, 2017
by
Nadeem Shahzad
Committed by
GitHub
Feb 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3706 from edx/nadeem/analytics_api_venv_fix
Source python virtual env in analytics_api_env
parents
77d54170
f630800d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
playbooks/roles/analytics_api/defaults/main.yml
+2
-0
playbooks/roles/analytics_api/templates/edx/app/analytics_api/analytics_api_env.j2
+1
-0
No files found.
playbooks/roles/analytics_api/defaults/main.yml
View file @
5f2dc106
...
...
@@ -150,6 +150,8 @@ analytics_api_user: "{{ analytics_api_service_name }}"
analytics_api_home
:
"
{{
COMMON_APP_DIR
}}/{{
analytics_api_service_name
}}"
analytics_api_code_dir
:
"
{{
analytics_api_home
}}/{{
analytics_api_service_name
}}"
analytics_api_conf_dir
:
"
{{
analytics_api_home
}}"
analytics_api_venv_dir
:
"
{{
analytics_api_home
}}/venvs/{{
analytics_api_service_name
}}"
analytics_api_venv_bin
:
"
{{
analytics_api_venv_dir
}}/bin"
analytics_api_gunicorn_host
:
"
127.0.0.1"
analytics_api_gunicorn_port
:
"
8100"
...
...
playbooks/roles/analytics_api/templates/edx/app/analytics_api/analytics_api_env.j2
View file @
5f2dc106
...
...
@@ -5,3 +5,4 @@
export {{ name }}="{{ value }}"
{% endif %}
{%- endfor %}
source {{ analytics_api_venv_bin }}/activate
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