diff --git a/doc/development.md b/doc/development.md index b4ac52d202..ebc56fbf1b 100644 --- a/doc/development.md +++ b/doc/development.md @@ -67,6 +67,15 @@ To run a single nose test: Very handy: if you uncomment the `--pdb` argument in `NOSE_ARGS` in `lms/envs/test.py`, it will drop you into pdb on error. This lets you go up and down the stack and see what the values of the variables are. Check out http://docs.python.org/library/pdb.html +## Testing using queue servers + +When testing problems that use a queue server on AWS (e.g. sandbox-xqueue.edx.org), you'll need to run your server on your public IP, like so. + +`django-admin.py runserver --settings=lms.envs.dev --pythonpath=. 0.0.0.0:8000` + +When you connect to the LMS, you need to use the public ip. Use `ifconfig` to figure out the numnber, and connect e.g. to `http://18.3.4.5:8000/` + + ## Content development If you change course content, while running the LMS in dev mode, it is unnecessary to restart to refresh the modulestore.