Parcourir la source

updated version

master
samuel il y a 1 an
Parent
révision
7219fb029f
1 fichiers modifiés avec 47 ajouts et 34 suppressions
  1. 47
    34
      linux_setup.sh

+ 47
- 34
linux_setup.sh Voir le fichier

@@ -1,16 +1,17 @@
# wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux_setup.sh

#STORE GIT CREDENTIALS IN CACHE
sudo yum install git
# git config --global --unset credential.helper
git config --global credential.helper store
git config --global credential.helper 'store --file ~/.git-credentials'
echo "Enter git username: "
read gitUser
echo "username=$gitUser" >> ~/.git-credentials
echo "Enter git password: "
read gitPassword
echo "password=$gitPassword" >> ~/.git-credentials
chmod 0600 ~/.git-credentials
# git config --global credential.helper 'store --file ~/.git-credentials'
# echo "Enter git username: "
# read gitUser
# echo "username=$gitUser" >> ~/.git-credentials
# echo "Enter git password: "
# read gitPassword
# echo "password=$gitPassword" >> ~/.git-credentials
# chmod 0600 ~/.git-credentials

# Install prerequisites
#NODE JS 16.17.1
@@ -40,7 +41,6 @@ mkdir production_A
cd production_A


cd ..
git clone http://git.bbh.org.in/chess/cihsr-config-production
cd cihsr-config-production
git checkout production
@@ -50,6 +50,14 @@ npm i
cd ..
ln -s cihsr-config-production/ config

git clone http://git.bbh.org.in/chess/cihsr-data
cd cihsr-data
git checkout production
npm i

cd ..
ln -s cihsr-data/ data

git clone http://git.bbh.org.in/chess/ember-masonry-grid
cd ember-masonry-grid
git checkout production
@@ -73,12 +81,6 @@ cd serververse
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/client
cd client
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/elxr
cd elxr
@@ -109,12 +111,6 @@ cd loopback-connector-mysql
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/cihsr-data
cd cihsr-data
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/loopback-connector-ds
cd loopback-connector-ds
@@ -133,12 +129,6 @@ cd setup
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/elixir-client-todos
cd elixir-client-todos
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/ember-service-worker
cd ember-service-worker
@@ -181,12 +171,6 @@ cd ember-cp-validations
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/chess-client-lib
cd chess-client-lib
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/loopback-connector
cd loopback-connector
@@ -223,6 +207,12 @@ cd loopback-connector-sqlite3
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/cihsr-server
cd cihsr-server
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/Trias-Elixir_Hybrid
cd Trias-Elixir_Hybrid
@@ -253,3 +243,26 @@ cd processmanager
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/client
cd client
git checkout production
npm i
bower install
node_modules/.bin/bower install

cd ..
git clone http://git.bbh.org.in/chess/chess-client-lib
cd chess-client-lib
git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/elixir-client
cd elixir-client
git checkout production
npm i

cd chess-client-lib
npm i
cd ..

Chargement…
Annuler
Enregistrer