|
|
|
|
|
|
|
|
cd Desktop |
|
|
cd Desktop |
|
|
mkdir chess |
|
|
mkdir chess |
|
|
cd chess |
|
|
cd chess |
|
|
mkdir production_A |
|
|
|
|
|
cd production_A |
|
|
|
|
|
|
|
|
mkdir production_B |
|
|
|
|
|
cd production_B |
|
|
|
|
|
|
|
|
# echo "Enter instance type: eg production/production" |
|
|
# echo "Enter instance type: eg production/production" |
|
|
# read instancetype |
|
|
# read instancetype |
|
|
|
|
|
|
|
|
rm -rf package-lock.json |
|
|
rm -rf package-lock.json |
|
|
npm i --force |
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/cihsr-clientconfig-production |
|
|
|
|
|
cd cihsr-clientconfig-production |
|
|
|
|
|
git checkout production |
|
|
|
|
|
git pull |
|
|
|
|
|
git pull origin master |
|
|
|
|
|
rm -rf package-lock.json |
|
|
|
|
|
npm i --force |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
ln -s cihsr-clientconfig-production/ clientconfig |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|
git clone http://git.bbh.org.in/chess/bbhverse |
|
|
git clone http://git.bbh.org.in/chess/bbhverse |
|
|
cd bbhverse |
|
|
cd bbhverse |