config update
parent
51b2adbb13
commit
47e0ac3329
124
bash_history
124
bash_history
|
@ -2268,3 +2268,127 @@ sudo rm default
|
||||||
sudo ln -s ../sites-available/cybafelo.conf
|
sudo ln -s ../sites-available/cybafelo.conf
|
||||||
sudo service nginx restart
|
sudo service nginx restart
|
||||||
exit
|
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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
var environment = {
|
var environment = {
|
||||||
path : '/usr/share/cybafelo',
|
path : '/usr/share/cybafelo',
|
||||||
protocol : 'https',
|
protocol : 'http',
|
||||||
environment : 'tj',
|
environment : 'tj',
|
||||||
domain : 'cybafelo.com'
|
domain : 'cybafelo.com'
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/bash
|
#!/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
|
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
|
Loading…
Reference in New Issue