Sfoglia il codice sorgente

prod updates

pull/15/head
samuel 1 anno fa
parent
commit
61c7720e50
1 ha cambiato i file con 118 aggiunte e 42 eliminazioni
  1. 118
    42
      linux_setup.sh

+ 118
- 42
linux_setup.sh Vedi File

@@ -32,15 +32,15 @@ npm install -g pm2
npm install -g ember-cli
npm install -g loopback-cli

#development A SETUP
#production A SETUP
cd ~
cd Desktop
mkdir 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
# echo "Enter FolderName: eg A/B/C"
# read foldername
@@ -51,19 +51,23 @@ cd development_A
# 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
npm i --force

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

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

@@ -72,56 +76,72 @@ ln -s cihsr-data/ data

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

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

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

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

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

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

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

cd ..
git clone http://git.bbh.org.in/chess/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
npm i --force
npm run build
@@ -129,119 +149,153 @@ npm run build
cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-mysql
cd loopback-connector-mysql
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json
npm i --force

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

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

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

cd ..
git clone http://git.bbh.org.in/chess/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
npm i --force

cd ..
git clone http://git.bbh.org.in/chess/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
npm i --force

cd ..
git clone http://git.bbh.org.in/chess/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
npm i --force

cd ..
git clone http://git.bbh.org.in/chess/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
npm i --force

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

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

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

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

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

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

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

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

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

@@ -253,42 +307,54 @@ cd ..
cd ..
git clone http://git.bbh.org.in/chess/cihsr-server
cd cihsr-server
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json
npm i --force

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

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

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

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

cd ..
git clone http://git.bbh.org.in/chess/client
cd client
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json
npm i --force
bower install
@@ -297,14 +363,18 @@ node_modules/.bin/bower install
cd ..
git clone http://git.bbh.org.in/chess/chess-client-lib
cd chess-client-lib
git checkout master
git checkout production
git pull
git pull origin master
rm -rf package-lock.json
npm i --force

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

@@ -312,3 +382,9 @@ 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
node_modules\.bin\ember s

Loading…
Annulla
Salva