Browse Source

prod updates

pull/15/head
samuel 1 year ago
parent
commit
61c7720e50
1 changed files with 118 additions and 42 deletions
  1. 118
    42
      linux_setup.sh

+ 118
- 42
linux_setup.sh View File

npm install -g ember-cli npm install -g ember-cli
npm install -g loopback-cli npm install -g loopback-cli


#development A SETUP
#production A SETUP
cd ~ cd ~
cd Desktop cd Desktop
mkdir chess mkdir chess
cd chess cd chess
mkdir development_A
cd development_A
mkdir production_A
cd production_A


# echo "Enter instance type: eg development/production"
# echo "Enter instance type: eg production/production"
# read instancetype # read instancetype
# echo "Enter FolderName: eg A/B/C" # echo "Enter FolderName: eg A/B/C"
# read foldername # read foldername
# cd $instancetype_$foldername # cd $instancetype_$foldername




git clone http://git.bbh.org.in/chess/cihsr-config-development
cd cihsr-config-development
git checkout master
git clone http://git.bbh.org.in/chess/cihsr-config-production
cd cihsr-config-production
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


#TO CREATE SYMLINK #TO CREATE SYMLINK
cd .. cd ..
ln -s cihsr-config-development/ config
ln -s cihsr-config-production/ config


git clone http://git.bbh.org.in/chess/cihsr-data git clone http://git.bbh.org.in/chess/cihsr-data
cd cihsr-data cd cihsr-data
git checkout master
git checkout production
git pull
# git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force




git clone http://git.bbh.org.in/chess/ember-masonry-grid git clone http://git.bbh.org.in/chess/ember-masonry-grid
cd ember-masonry-grid cd ember-masonry-grid
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/bbhverse git clone http://git.bbh.org.in/chess/bbhverse
cd bbhverse cd bbhverse
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/clientverse git clone http://git.bbh.org.in/chess/clientverse
cd clientverse cd clientverse
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/serververse git clone http://git.bbh.org.in/chess/serververse
cd serververse cd serververse
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/elxr git clone http://git.bbh.org.in/chess/elxr
cd elxr cd elxr
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-searchable-select git clone http://git.bbh.org.in/chess/ember-searchable-select
cd ember-searchable-select cd ember-searchable-select
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-component-jsonapi git clone http://git.bbh.org.in/chess/loopback-component-jsonapi
cd loopback-component-jsonapi cd loopback-component-jsonapi
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-jsonapi-model-serializer git clone http://git.bbh.org.in/chess/loopback-jsonapi-model-serializer
cd loopback-jsonapi-model-serializer cd loopback-jsonapi-model-serializer
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force
npm run build npm run build
cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-mysql git clone http://git.bbh.org.in/chess/loopback-connector-mysql
cd loopback-connector-mysql cd loopback-connector-mysql
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-ds git clone http://git.bbh.org.in/chess/loopback-connector-ds
cd loopback-connector-ds cd loopback-connector-ds
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/setup git clone http://git.bbh.org.in/chess/setup
cd setup cd setup
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-service-worker git clone http://git.bbh.org.in/chess/ember-service-worker
cd ember-service-worker cd ember-service-worker
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-service-worker-asset-cache git clone http://git.bbh.org.in/chess/ember-service-worker-asset-cache
cd ember-service-worker-asset-cache cd ember-service-worker-asset-cache
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-service-worker-cache-fallback git clone http://git.bbh.org.in/chess/ember-service-worker-cache-fallback
cd ember-service-worker-cache-fallback cd ember-service-worker-cache-fallback
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-service-worker-index git clone http://git.bbh.org.in/chess/ember-service-worker-index
cd ember-service-worker-index cd ember-service-worker-index
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-sw-client-route git clone http://git.bbh.org.in/chess/ember-sw-client-route
cd ember-sw-client-route cd ember-sw-client-route
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/global-this git clone http://git.bbh.org.in/chess/global-this
cd global-this cd global-this
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/ember-cp-validations git clone http://git.bbh.org.in/chess/ember-cp-validations
cd ember-cp-validations cd ember-cp-validations
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-connector git clone http://git.bbh.org.in/chess/loopback-connector
cd loopback-connector cd loopback-connector
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback git clone http://git.bbh.org.in/chess/loopback
cd loopback cd loopback
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-datasource-juggler git clone http://git.bbh.org.in/chess/loopback-datasource-juggler
cd loopback-datasource-juggler cd loopback-datasource-juggler
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-mssql git clone http://git.bbh.org.in/chess/loopback-connector-mssql
cd loopback-connector-mssql cd loopback-connector-mssql
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-filters git clone http://git.bbh.org.in/chess/loopback-filters
cd loopback-filters cd loopback-filters
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-sqlite3 git clone http://git.bbh.org.in/chess/loopback-connector-sqlite3
cd loopback-connector-sqlite3 cd loopback-connector-sqlite3
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/chess-server-lib git clone http://git.bbh.org.in/chess/chess-server-lib
cd chess-server-lib cd chess-server-lib
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/cihsr-server git clone http://git.bbh.org.in/chess/cihsr-server
cd cihsr-server cd cihsr-server
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/bbh_patient_portal git clone http://git.bbh.org.in/chess/bbh_patient_portal
cd bbh_patient_portal cd bbh_patient_portal
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/project-genesis-frontend git clone http://git.bbh.org.in/chess/project-genesis-frontend
cd project-genesis-frontend cd project-genesis-frontend
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/project-genesis-backend git clone http://git.bbh.org.in/chess/project-genesis-backend
cd project-genesis-backend cd project-genesis-backend
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/processmanager git clone http://git.bbh.org.in/chess/processmanager
cd processmanager cd processmanager
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/client git clone http://git.bbh.org.in/chess/client
cd client cd client
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force
bower install bower install
cd .. cd ..
git clone http://git.bbh.org.in/chess/chess-client-lib git clone http://git.bbh.org.in/chess/chess-client-lib
cd chess-client-lib cd chess-client-lib
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


cd .. cd ..
git clone http://git.bbh.org.in/chess/elixir-client git clone http://git.bbh.org.in/chess/elixir-client
cd elixir-client cd elixir-client
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force


rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force
cd .. cd ..

cd client
rm -rf package-lock.json
npm i --force
node_modules\.bin\bower i
node_modules\.bin\ember s

Loading…
Cancel
Save