Merge branch 'master' of github.com:DearDesi/deardesi
This commit is contained in:
commit
78721a8bee
27
setup.sh
27
setup.sh
|
@ -6,6 +6,29 @@ elif [ -n "$(which wget)" ]; then
|
||||||
CMD_CURL="wget -nv --quiet --no-verbose -O -"
|
CMD_CURL="wget -nv --quiet --no-verbose -O -"
|
||||||
fi
|
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 ""
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
<pre>
|
<pre>
|
||||||
<code>curl -fsSL bit.ly/install-deardesi | bash
|
<code>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</code>
|
desi serve -d ~/Desktop/my-blog</code>
|
||||||
</pre>
|
</pre>
|
||||||
<br/>
|
<br/>
|
||||||
<p>The open <a href="http://local.dear.desi:65080">http://local.dear.desi:65080</a></p> in your browser.
|
<p>The open <a href="http://local.dear.desi:65080">http://local.dear.desi:65080</a></p> in your browser.
|
||||||
|
|
Loading…
Reference in New Issue