sudo fixes
This commit is contained in:
parent
c1e35e8235
commit
aa5cd1996e
|
@ -3,15 +3,15 @@ cd /opt
|
||||||
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
|
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
|
||||||
sudo apt-get install --yes nodejs
|
sudo apt-get install --yes nodejs
|
||||||
curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n
|
curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n
|
||||||
chmod +x /usr/local/bin/n
|
sudo chmod +x /usr/local/bin/n
|
||||||
n stable
|
sudo n stable
|
||||||
sudo apt-get install --yes build-essential redis-server libpng12-dev git python-minimal
|
sudo apt-get install --yes build-essential redis-server libpng12-dev git python-minimal
|
||||||
git clone -b stable https://github.com/vatesfr/xo-server
|
git clone -b stable https://github.com/vatesfr/xo-server
|
||||||
git clone -b stable https://github.com/vatesfr/xo-web
|
git clone -b stable https://github.com/vatesfr/xo-web
|
||||||
cd xo-server
|
cd xo-server
|
||||||
sudo npm install && npm run build
|
sudo npm install && npm run build
|
||||||
cp sample.config.yaml .xo-server.yaml
|
sudo cp sample.config.yaml .xo-server.yaml
|
||||||
sed -i /mounts/a\\" '/': '/opt/xo-web/dist'" .xo-server.yaml
|
sudo sed -i /mounts/a\\" '/': '/opt/xo-web/dist'" .xo-server.yaml
|
||||||
cd /opt/xo-web
|
cd /opt/xo-web
|
||||||
sudo npm i lodash.trim@3.0.1
|
sudo npm i lodash.trim@3.0.1
|
||||||
sudo npm install
|
sudo npm install
|
||||||
|
|
Loading…
Reference in New Issue