Add full path for npm
This commit is contained in:
parent
abedcaf0b9
commit
36cb593532
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue