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
edx
configuration
Commits
44f6e1c3
Commit
44f6e1c3
authored
Nov 13, 2014
by
Clinton Blackburn
Committed by
Edward Zarecor
Nov 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Support for Django 1.7 for Analytics API and Insights
parent
550ee796
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
CHANGELOG.md
+3
-0
playbooks/roles/analytics-api/tasks/deploy.yml
+2
-2
playbooks/roles/insights/tasks/deploy.yml
+2
-2
No files found.
CHANGELOG.md
View file @
44f6e1c3
-
Role: analytics-api, insights
-
Using Django 1.7 migrate command.
-
Role: edxapp
-
A new var was added to make it easy ot invalidate the default
memcache store to make it easier to invalidate sessions. Updating
...
...
playbooks/roles/analytics-api/tasks/deploy.yml
View file @
44f6e1c3
...
...
@@ -37,12 +37,12 @@
notify
:
restart the analytics service
with_items
:
analytics_api_requirements
-
name
:
syncdb and
migrate
-
name
:
migrate
shell
:
>
chdir={{ analytics_api_code_dir }}
DB_MIGRATION_USER={{ COMMON_MYSQL_MIGRATE_USER }}
DB_MIGRATION_PASS={{ COMMON_MYSQL_MIGRATE_PASS }}
{{ analytics_api_venv_bin }}/python ./manage.py
syncdb --
migrate --noinput
{{ analytics_api_venv_bin }}/python ./manage.py migrate --noinput
sudo_user
:
"
{{
analytics_api_user
}}"
environment
:
"
{{
analytics_api_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
...
...
playbooks/roles/insights/tasks/deploy.yml
View file @
44f6e1c3
...
...
@@ -54,12 +54,12 @@
. {{ insights_nodeenv_bin }}/activate && {{ insights_node_bin }}/bower install --production --config.interactive=false
sudo_user
:
"
{{
insights_user
}}"
-
name
:
syncdb and
migrate
-
name
:
migrate
shell
:
>
chdir={{ insights_code_dir }}
DB_MIGRATION_USER={{ COMMON_MYSQL_MIGRATE_USER }}
DB_MIGRATION_PASS={{ COMMON_MYSQL_MIGRATE_PASS }}
{{ insights_venv_bin }}/python {{ insights_manage }}
syncdb --
migrate --noinput
{{ insights_venv_bin }}/python {{ insights_manage }} migrate --noinput
sudo_user
:
"
{{
insights_user
}}"
environment
:
"
{{
insights_environment
}}"
when
:
migrate_db is defined and migrate_db|lower == "yes"
...
...
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