mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
making sure node.js and npm are installed before running install.sh
This commit is contained in:
parent
dfa1e40a8b
commit
a1749cf5e1
11
install.sh
11
install.sh
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user