Add full path for npm

This commit is contained in:
John Hooks 2017-08-02 21:39:52 -04:00
parent abedcaf0b9
commit 36cb593532
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git
/usr/bin/git clone -b $xo_branch $xo_server
/usr/bin/git clone -b $xo_branch $xo_web
cd $xo_server_dir
sudo npm install && npm run build
sudo /usr/bin/npm install && /usr/bin/npm run build
sudo cp sample.config.yaml .xo-server.yaml
sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-server.yaml
cd $xo_web_dir