--- misc/xoa-installer/xoa-installer.sh 2016/02/29 09:58:42 2960 +++ misc/xoa-installer/xoa-installer.sh 2016/02/29 10:29:04 2963 @@ -49,6 +49,17 @@ apt-get install curl || exit fi +if [ ! -x "/usr/bin/gcc" ] ; then + echo "installing build-essential" + apt-get install build-essential || exit +fi + +if [ ! -x "/usr/bin/redis-server" ] ; then + echo "installing redis-server" + apt-get install redis-server || exit +fi + + if [ ! -x "/usr/local/bin/n" ] ; then echo "installing node.js bootstrap" curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit @@ -65,6 +76,11 @@ npm install -g gulp fi +if [ ! -x "/usr/local/bin/forever" ] ; then + echo "installing forever" + npm install -g forever +fi + if [ ! -d "xo-web" ] ; then