From c50a8e950975a44e2dfb9b6dff47b820cd5b8d06 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 27 Sep 2014 23:34:58 +0100 Subject: [PATCH] Python setup --- install-freedombone.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index a30efabd..be8a52cc 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -2739,7 +2739,7 @@ function install_mediagoblin { su -c "cd /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin; git submodule update" - mediagoblin su -c "cd /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin; virtualenv --system-site-packages ." - mediagoblin - #su -c "cd /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin; ./bin/python setup.py develop" - mediagoblin + su -c "cd /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin; ./bin/python setup.py develop" - mediagoblin su -c "cd /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin; ./bin/easy_install flup" - mediagoblin su -c "cp /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin.ini /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini" - mediagoblin su -c "cp /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/paste.ini /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/paste_local.ini" - mediagoblin @@ -2904,6 +2904,7 @@ function install_mediagoblin { chmod +x /etc/init.d/mediagoblin update-rc.d mediagoblin defaults service mediagoblin start + systemctl daemon-reload echo 'install_mediagoblin' >> $COMPLETION_FILE }