config update

beta.r3js.org
-=yb4f310 2017-05-10 15:56:03 +02:00
parent 51b2adbb13
commit 47e0ac3329
3 changed files with 126 additions and 4 deletions

View File

@ -2268,3 +2268,127 @@ sudo rm default
sudo ln -s ../sites-available/cybafelo.conf
sudo service nginx restart
exit
sudo apt-get install mongodb
cd
c
cd config/
ls
git diff
git diff tj-dev
git diff tj-dev 'exclude:bash_history'
git diff . tj-dev 'exclude:bash_history'
git diff tj-dev -- 'exclude:bash_history'
git diff -- tj-dev 'exclude:bash_history'
git diff -- tj-dev ':(exclude)bash_history'
git diff tj-dev ':(exclude)bash_history'
git diff tj-dev '!bash_history'
git diff tj-dev !(bash_history)
git diff tj-dev '!bash_history'
git diff tj-dev !(bash_history)
git checkout tj-dev -- start_api-v1.6
vim start_api-v1.6
git status
git commit -am "cybafeloi update"
gi tpuyhsg
git push
cd ..
ls
ls -l
pm2
sudo npm -
sudo npm i -g pm2
cd con
cd config/
git diff
ls
cd ..
./build_latest
sudo npm install -g gulp
top
c
cd config/
git checkout tj-dev -- secure.js
vim secure.js
ls -l
vim secure.js
git status
git commit -am "temp ocmmit"
git push
git add nginx/sites-available/cybafelo.conf
git commit -am "cybafelo
.c"
git push
git checkout tj-dev
git pull
cd ..
cd config/
git checkout cybafelo
git checkout tj-dev -- config.js
vim config.js
git diff
git checkout tj-dev -- model.js
git checkout tj-dev -- nginx/sites-available/gamewheel.conf
git diff tj-dev -- nginx/sites-available/gamewheel.conf
git diff nginx/sites-available/cybafelo.conf tj-dev -- nginx/sites-available/gamewheel.conf
ls
cd nginx/
cd sites-available/
ls
vim gamewheel.conf
ls
vim cybafelo.conf
vimdiff cybafelo.conf gamewheel.conf
mv gamewheel.conf cybafelo.conf
vim cybafelo.conf
s
cd config/
git checkout tj-dev -- secure.js
vim secure.js
npm install npm@latest -f
npm install npm@latest -g
sudo npm install npm@latest -g
npm install -g gulp
c
./dump
cd config/
ls
vim ./build_latest
cd ..
ln -s config/build_latest
./build_latest
cp ~/config/checkout_all ./config/
cd config/
git add checkout_all
git status
git add cybafelo.blend
git commit -am "checkout all"
git pull
git push
la -l
./checkout_all v2_v3_stable
xs ..
cd ..
ln -s config/checkout_all
vim checkout_all
./checkout_all v2_v3_stable
./build_latest
./checkout_all devq
./checkout_all develop
./checkout_all v2_v3_stable
./build_latest
sudo apt-get install npm
sudo npm install -g gulp
./build_latest
npm update
xrandr --output HDMI-1 --set "underscan hborder" 30 --set "underscan vborder" 18
sudo xrandr --output HDMI-1 --set "underscan hborder" 30 --set "underscan vborder" 18
gulp
sudo apt-get install node
sudo apt-get install nodejs
node
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install nodejs
npm
npm install -g gulp
sudo vim /etc/hosts
exit

View File

@ -1,6 +1,6 @@
var environment = {
path : '/usr/share/cybafelo',
protocol : 'https',
protocol : 'http',
environment : 'tj',
domain : 'cybafelo.com'
};

View File

@ -1,5 +1,3 @@
#!/bin/bash
cd /usr/share/cybafelo/api-v1
pm2 start bin/start --node-args="--max-old-space-size=16000 --debug=3204" --name api-v1
cd /usr/share/cybafelo/3d-editor
pm2 start server.js --node-args="--max-old-space-size=16000 --debug=3203" --name 3d-editor
pm2 start server.js --node-args="--max-old-space-size=16000 --debug=3203" --name 3d-editor