From 95aa6b56b29eb59ea14acad078e645af0a35e5b9 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 12 May 2011 10:05:35 -0500 Subject: [PATCH] buildout instructions come first since it's easier if it does work --- docs/hackinghowto.rst | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/docs/hackinghowto.rst b/docs/hackinghowto.rst index d829b1c0..b34ce93a 100644 --- a/docs/hackinghowto.rst +++ b/docs/hackinghowto.rst @@ -215,14 +215,13 @@ To do this, do:: Running the server ================== -If you did virtualenv, run:: - - paster serve mediagoblin.ini --reload - If you did buildout, run:: ./bin/paster serve mediagoblin.ini --reload +If you did virtualenv, run:: + + paster serve mediagoblin.ini --reload Running celeryd =============== @@ -231,26 +230,24 @@ You need to do this if you want your media to process and actually show up. It's probably a good idea in development to have the web server (above) running in one terminal and celeryd in another window. -If you did virtualenv, run:: - - CELERY_CONFIG_MODULE=mediagoblin.celery_setup.from_celery celeryd - If you did buildout, run:: CELERY_CONFIG_MODULE=mediagoblin.celery_setup.from_celery ./bin/celeryd +If you did virtualenv, run:: + + CELERY_CONFIG_MODULE=mediagoblin.celery_setup.from_celery celeryd Running the test suite ====================== -If you did virtualenv, run:: - - nosetests - If you did buildout, run:: ./bin/nosetests +If you did virtualenv, run:: + + nosetests Troubleshooting =============== -- 2.25.1