Commit 5f2dc106 by Nadeem Shahzad Committed by GitHub

Merge pull request #3706 from edx/nadeem/analytics_api_venv_fix

Source python virtual env in analytics_api_env
parents 77d54170 f630800d
......@@ -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"
......
......@@ -5,3 +5,4 @@
export {{ name }}="{{ value }}"
{% endif %}
{%- endfor %}
source {{ analytics_api_venv_bin }}/activate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment