3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-12 04:52:36 +01:00

Merge pull request #314 from JohnMaguire2013/install

modified install script to error if node or npm aren't installed
This commit is contained in:
reality 2013-03-19 03:17:03 -07:00
commit 9b7098a318

View File

@ -3,6 +3,17 @@ cat LICENCE
git submodule init
git submodule update
if [ ! -e /usr/bin/node ] && [ ! -e /usr/local/bin/node ];
then
echo 'node.js is not installed. Please install it before running install.sh.'
exit 1
fi
if [ ! -e /usr/bin/npm ] && [ ! -e /usr/local/bin/npm ];
then
echo 'npm is not installed. Please install it before running install.sh'
exit 1
fi
npm install underscore request sandbox express moment jade@0.25
cd public/