--- misc/xoa-installer/xoa-installer.sh 2016/02/29 09:43:57 2958 +++ misc/xoa-installer/xoa-installer.sh 2016/02/29 09:49:28 2959 @@ -60,6 +60,11 @@ n stable || exit fi +if [ ! -x "/usr/local/bin/gulp" ] ; then + echo "installing gulp" + npm install -x gulp +fi + if [ ! -d "xo-web" ] ; then @@ -81,13 +86,15 @@ # xo-server +echo "building xo-server" cd xo-server -npm install --unsafe-perm || exit +npm install || exit npm run build || exit cd .. #xo-web +echo "building xo-web" cd xo-web npm install --unsafe-perm || exit npm run build || exit