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
52658d2c
Commit
52658d2c
authored
Sep 18, 2015
by
Max Rothman
Committed by
Kevin Falcone
Sep 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test courses are split mongo, and thus no longer use SlashSeparatedCourseKey
parent
83c8c8d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
playbooks/roles/testcourses/tasks/deploy.yml
+1
-1
No files found.
playbooks/roles/testcourses/tasks/deploy.yml
View file @
52658d2c
...
...
@@ -28,7 +28,7 @@
-
shell
:
>
chdir={{ demo_edxapp_code_dir }}
echo "from student.models import CourseEnrollment; from django.contrib.auth.models import User; from opaque_keys.edx.
locations import SlashSeparatedCourseKey; course = SlashSeparatedCourseKey.from_deprecated
_string('{{ item[0].course_id }}'); user = User.objects.get(email='{{ item[1].email }}'); CourseEnrollment.enroll(user, course, mode='{{ item[1].mode }}');" | {{ demo_edxapp_venv_bin }}/python ./manage.py lms shell --settings=aws
echo "from student.models import CourseEnrollment; from django.contrib.auth.models import User; from opaque_keys.edx.
keys import CourseKey; course = CourseKey.from
_string('{{ item[0].course_id }}'); user = User.objects.get(email='{{ item[1].email }}'); CourseEnrollment.enroll(user, course, mode='{{ item[1].mode }}');" | {{ demo_edxapp_venv_bin }}/python ./manage.py lms shell --settings=aws
sudo_user
:
"
{{
common_web_user
}}"
with_nested
:
-
TESTCOURSES_EXPORTS
...
...
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