Merge branch 'master' into feature/cdodge/cms-master-merge3
Conflicts: common/lib/xmodule/xmodule/course_module.py common/lib/xmodule/xmodule/modulestore/mongo.py common/lib/xmodule/xmodule/modulestore/search.py common/lib/xmodule/xmodule/modulestore/xml.py doc/development.md lms/envs/common.py
This commit is contained in:
@@ -23,7 +23,13 @@ Install the following:
|
||||
|
||||
### Databases
|
||||
|
||||
Run the following to setup the relational database before starting servers:
|
||||
First start up the mongo daemon. E.g. to start it up in the background
|
||||
using a config file:
|
||||
|
||||
mongod --config /usr/local/etc/mongod.conf &
|
||||
|
||||
Check out the course data directories that you want to work with into the
|
||||
`GITHUB_REPO_ROOT` (by default, `../data`). Then run the following command:
|
||||
|
||||
rake resetdb
|
||||
|
||||
@@ -57,8 +63,12 @@ This runs all the tests (long, uses collectstatic):
|
||||
|
||||
If if you aren't changing static files, can run `rake test` once, then run
|
||||
|
||||
rake fasttest_{lms,cms}
|
||||
rake fasttest_lms
|
||||
|
||||
or
|
||||
|
||||
rake fasttest_cms
|
||||
|
||||
xmodule can be tested independently, with this:
|
||||
|
||||
rake test_common/lib/xmodule
|
||||
|
||||
Reference in New Issue
Block a user