From 7887f556d9e224b39d183737afd80edbaa1999ff Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Wed, 5 Dec 2012 09:29:42 -0500 Subject: [PATCH] Add docs on using a queue server on aws from a local LMS --- doc/development.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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.