Adjusting hackinghowto docs to reflect change in server/tests commands
This commit is contained in:
parent
07f35dad60
commit
77edca545b
@ -125,7 +125,7 @@ Running the server
|
|||||||
|
|
||||||
Run::
|
Run::
|
||||||
|
|
||||||
./bin/paster serve mediagoblin.ini --reload
|
./bin/paster serve server.ini --reload
|
||||||
|
|
||||||
|
|
||||||
Running celeryd
|
Running celeryd
|
||||||
@ -143,7 +143,7 @@ Run::
|
|||||||
Too much work? Don't want to run an http server and celeryd at the
|
Too much work? Don't want to run an http server and celeryd at the
|
||||||
same time? For development purposes there's a shortcut::
|
same time? For development purposes there's a shortcut::
|
||||||
|
|
||||||
CELERY_ALWAYS_EAGER=true ./bin/paster serve mediagoblin.ini --reload
|
CELERY_ALWAYS_EAGER=true ./bin/paster serve server.ini --reload
|
||||||
|
|
||||||
This way the web server will block on processing items until they are
|
This way the web server will block on processing items until they are
|
||||||
done, but you don't need to run celery separately (which is probably
|
done, but you don't need to run celery separately (which is probably
|
||||||
@ -156,7 +156,7 @@ Running the test suite
|
|||||||
|
|
||||||
Run::
|
Run::
|
||||||
|
|
||||||
CELERY_CONFIG_MODULE=mediagoblin.celery_setup.from_tests ./bin/nosetests
|
./bin/nosetests
|
||||||
|
|
||||||
|
|
||||||
Running a shell
|
Running a shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user