Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
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
devstack
Commits
f381dd6c
Commit
f381dd6c
authored
Jul 05, 2017
by
Steven Zheng
Committed by
Steven Zheng
Jul 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add script to generate test courses in Studio
parent
fd070b65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
Makefile
+3
-0
create-test-course-studio.sh
+2
-0
test-course-studio.json
+10
-0
No files found.
Makefile
View file @
f381dd6c
...
@@ -98,3 +98,6 @@ validate-lms-volume: ## Validate that changes to the local workspace are reflect
...
@@ -98,3 +98,6 @@ validate-lms-volume: ## Validate that changes to the local workspace are reflect
mysql-shell
:
##
Run a shell on the mysql container
mysql-shell
:
##
Run a shell on the mysql container
docker-compose
exec
mysql bash
docker-compose
exec
mysql bash
create-test-course-studio
:
##
Generates a course on studio using settings in test-course-studio.json
./create-test-course-studio.sh
create-test-course-studio.sh
0 → 100755
View file @
f381dd6c
SETTINGS
=
`
tr
-d
'\n'
<
"test-course-studio.json"
`
docker-compose
exec
lms bash
-c
"source /edx/app/edxapp/edxapp_env && python /edx/app/edxapp/edx-platform/manage.py cms --settings=devstack_docker generate_test_course '
$SETTINGS
'"
test-course-studio.json
0 → 100644
View file @
f381dd6c
{
"store"
:
"split"
,
"user"
:
"edx@example.com"
,
"organization"
:
"test-course-generator"
,
"number"
:
"1"
,
"run"
:
"1"
,
"fields"
:
{
"display_name"
:
"test-course"
}
}
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