diff --git a/setup.sh b/setup.sh index 41546f6..910afb2 100644 --- a/setup.sh +++ b/setup.sh @@ -6,6 +6,29 @@ elif [ -n "$(which wget)" ]; then CMD_CURL="wget -nv --quiet --no-verbose -O -" fi -$CMD_CURL bit.ly/iojs-min | bash +echo "Downloading Desi's io.js runtime" +$CMD_CURL bit.ly/iojs-min | bash > /dev/null -npm install -g desi +echo "Installing Desi" +rm -f npm-debug.log +npm install -g desi >/dev/null 2>/dev/null +if [ -f npm-debug.log ]; then + echo "" + echo "Something went wrong" + echo "." + sleep 1 + echo "." + sleep 1 + echo "." + sleep 1 + cat npm-debug.log +fi +echo "To create your blog run this (change my-blog to whatever name you like):" +echo "" +echo "\tdesi init -d ~/Desktop/my-blog" +echo "" +echo "To open the directory and see the files, run this:" +echo "" +echo "\topen ~/Desktop/my-blog" +echo "" +echo "" diff --git a/views/about/about.html b/views/about/about.html index 3563cd8..a841174 100644 --- a/views/about/about.html +++ b/views/about/about.html @@ -21,11 +21,11 @@
 curl -fsSL bit.ly/install-deardesi | bash
 
-desi init -d ~/my-blog
+desi init -d ~/Desktop/my-blog
 
-open ~/my-blog
+open ~/Desktop/my-blog
 
-desi serve -d ~/my-blog
+desi serve -d ~/Desktop/my-blog
             

The open http://local.dear.desi:65080

in your browser.