Use yarn to install xo-server

This commit is contained in:
Danp2 2017-08-03 15:00:37 -05:00 committed by GitHub
parent 917c3f8540
commit 12392d5cad

View File

@ -13,7 +13,7 @@ sudo apt-get install --yes build-essential redis-server libpng-dev git python-mi
git clone -b stable https://github.com/vatesfr/xo-server
git clone -b stable https://github.com/vatesfr/xo-web
cd xo-server
sudo npm install && npm run build
yarn install --force
sudo cp sample.config.yaml .xo-server.yaml
sudo sed -i /mounts/a\\" '/': '/opt/xo-web/dist'" .xo-server.yaml
cd /opt/xo-web