Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
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
edx-analytics-data-api
Commits
cbd9134a
Commit
cbd9134a
authored
Jul 15, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added make task to prepare server with demo data
Change-Id: Idd58f9d38cf2d41f09c89597eecdc9c8af56f07c
parent
be9144d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
Makefile
+6
-1
README.md
+3
-3
No files found.
Makefile
View file @
cbd9134a
...
...
@@ -47,4 +47,9 @@ quality:
validate
:
test.requirements test quality
syncdb
:
$
(
foreach db_name,
$(DATABASES)
,./manage.py syncdb
--migrate
--database
=
$(db_name)
;
)
$
(
foreach db_name,
$(DATABASES)
,./manage.py syncdb
--migrate
--noinput
--database
=
$(db_name)
;
)
loaddata
:
syncdb
python manage.py loaddata courses education_levels single_course_activity course_enrollment_birth_year course_enrollment_education course_enrollment_gender problem_response_answer_distribution
--database
=
analytics
demo
:
clean requirements loaddata
README.md
View file @
cbd9134a
...
...
@@ -34,10 +34,10 @@ Loading Data
------------
The fixtures directory contains demo data. This data can be loaded with the following commands:
$ ./manage.py syncdb --migrate --noinput --database=analytics
$ ./manage.py loaddata courses education_levels single_course_activity course_enrollment_birth_year course_enrollment_education course_enrollment_gender course_enrollment_daily problem_response_answer_distribution --database=analytics
$ make loaddata
Running Tests
-------------
Run
`make validate`
install the requirements, run the tests, and run lint.
Run
`make validate`
install the requirements, run the tests, and run lint. If you want to get the API server ready for
acceptance testing or demos,
`make demo`
will install requirements and load the fixture data.
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