From 10c65a07021bd3e08e6ea236f70e442808e508b4 Mon Sep 17 00:00:00 2001 From: crucialfelix Date: Tue, 8 Oct 2013 13:38:42 +0200 Subject: [PATCH] better formatting in install.sh --- example/install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/example/install.sh b/example/install.sh index dd0d439f8e..7fce4d2d9f 100755 --- a/example/install.sh +++ b/example/install.sh @@ -9,28 +9,28 @@ source AJAXSELECTS/bin/activate DJANGO=$1 if [ "$DJANGO" != "" ]; then - echo "Installing Django $DJANGO" + echo "Installing Django $DJANGO:" pip install Django==$DJANGO else - echo "Installing latest django" + echo "Installing latest django:" pip install django fi -echo "Creating a sqllite database" +echo "Creating a sqllite database:" ./manage.py syncdb if [ ! -d ./ajax_select ]; then - echo "\nSymlinking ajax_select into this app directory" + echo "\nSymlinking ajax_select into this app directory:" ln -s ../ajax_select/ ./ajax_select fi -echo "\ntype 'source AJAXSELECTS/bin/activate' to activate the virtualenv" +echo "\nto activate the virtualenv:\nsource AJAXSELECTS/bin/activate" -echo '\ncreate an admin account:' +echo '\nto create an admin account:' echo './manage.py createsuperuser' -echo "\nrun: ./manage.py runserver" -echo "and visit http://127.0.0.1:8000/admin/" -echo "\ntype 'deactivate' to close the virtualenv or just close the shell" +echo "\nto run the testserver:\n./manage.py runserver" +echo "\nthen open this url:\nhttp://127.0.0.1:8000/admin/" +echo "\nto close the virtualenv or just close the shell:\ndeactivate" exit 0