|
|
|
|
|
|
|
|
|
|
|
# Download steps |
|
|
|
|
|
# wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux_prodsync.sh |
|
|
|
|
|
# chmod +x linux_prodsync.sh |
|
|
|
|
|
# ./linux_prodsync.sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd ~ |
|
|
|
|
|
cd Desktop |
|
|
|
|
|
mkdir chess |
|
|
|
|
|
cd chess |
|
|
|
|
|
mkdir production_A |
|
|
|
|
|
cd production_A |
|
|
|
|
|
|
|
|
|
|
|
cd cihsr-config-production |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd cihsr-data |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
# git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-masonry-grid |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd bbhverse |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd clientverse |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd serververse |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd elxr |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-searchable-select |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-component-jsonapi |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-jsonapi-model-serializer |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
npm run build |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-connector-mysql |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-connector-ds |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd setup |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-service-worker |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-service-worker-asset-cache |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-service-worker-cache-fallback |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-service-worker-index |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-sw-client-route |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd global-this |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd ember-cp-validations |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-connector |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-datasource-juggler |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-connector-mssql |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-filters |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd loopback-connector-sqlite3 |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd chess-server-lib |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd server |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
cd .. |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd cihsr-server |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd bbh_patient_portal |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd project-genesis-frontend |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd project-genesis-backend |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd processmanager |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd client |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
bower install |
|
|
|
|
|
node_modules/.bin/bower install |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd chess-client-lib |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
cd elixir-client |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd chess-client-lib |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
cd .. |
|
|
|
|
|
|
|
|
|
|
|
cd client |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
node_modules/.bin/bower i |
|
|
|
|
|
npm run build-prod |
|
|
|
|
|
|
|
|
|
|
|
pm2 kill |
|
|
|
|
|
cd ../processmanager |
|
|
|
|
|
|
|
|
|
|
|
pm2 start ecosystem-config.js --env production |
|
|
|
|
|
|