start-moksha | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
New commits: commit 1b8f64fab9a6826ef2d22fc47917210584a292d7 Author: Luke Macken lmacken@redhat.com Date: Sat Dec 12 15:22:03 2009 -0500
'install' then 'develop' when running start-moksha
For some reason this was the only way I could get the start-moksha to run out of the box on my iMac, without routes exploding not being able to find the moksha.metrics/controllers directory. It must be expecting both egg.lnk, and the .egg directory.
diff --git a/start-moksha b/start-moksha index dc999f0..d35801e 100755 --- a/start-moksha +++ b/start-moksha @@ -49,19 +49,13 @@ if [ ! $VIRTUAL_ENV ]; then #pushd moksha/widgetbrowser; python setup.py develop; popd else source tg2env/bin/activate - - # `install` instead of `develop` to avoid weird directory vs. egg - # namespace issues - #echo "Installing Moksha" - #rm -fr dist - #python setup.py bdist_egg - #easy_install -Z dist/*.egg - python setup.py install fi fi
echo "Starting Moksha..."
+python setup.py develop + echo "Starting the WSGI stack..." paster serve development.ini & echo $! >> paster.pid
moksha-commits@lists.fedorahosted.org