|
|
|
|
|
|
|
|
|
|
|
# wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux_setup.sh |
|
|
|
|
|
|
|
|
#STORE GIT CREDENTIALS IN CACHE |
|
|
#STORE GIT CREDENTIALS IN CACHE |
|
|
sudo yum install git |
|
|
sudo yum install git |
|
|
|
|
|
|
|
|
|
|
|
# git config --global --unset credential.helper |
|
|
git config --global credential.helper store |
|
|
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 |
|
|
# Install prerequisites |
|
|
#NODE JS 16.17.1 |
|
|
#NODE JS 16.17.1 |
|
|
|
|
|
|
|
|
cd production_A |
|
|
cd production_A |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/cihsr-config-production |
|
|
git clone http://git.bbh.org.in/chess/cihsr-config-production |
|
|
cd cihsr-config-production |
|
|
cd cihsr-config-production |
|
|
git checkout production |
|
|
git checkout production |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|
ln -s cihsr-config-production/ config |
|
|
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 |
|
|
git clone http://git.bbh.org.in/chess/ember-masonry-grid |
|
|
cd ember-masonry-grid |
|
|
cd ember-masonry-grid |
|
|
git checkout production |
|
|
git checkout production |
|
|
|
|
|
|
|
|
git checkout production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/client |
|
|
|
|
|
cd client |
|
|
|
|
|
git checkout production |
|
|
|
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
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 production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/cihsr-data |
|
|
|
|
|
cd cihsr-data |
|
|
|
|
|
git checkout production |
|
|
|
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
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 production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/elixir-client-todos |
|
|
|
|
|
cd elixir-client-todos |
|
|
|
|
|
git checkout production |
|
|
|
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
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 production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/chess-client-lib |
|
|
|
|
|
cd chess-client-lib |
|
|
|
|
|
git checkout production |
|
|
|
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
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 production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|
|
git clone http://git.bbh.org.in/chess/cihsr-server |
|
|
|
|
|
cd cihsr-server |
|
|
|
|
|
git checkout production |
|
|
|
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|
git clone http://git.bbh.org.in/chess/Trias-Elixir_Hybrid |
|
|
git clone http://git.bbh.org.in/chess/Trias-Elixir_Hybrid |
|
|
cd Trias-Elixir_Hybrid |
|
|
cd Trias-Elixir_Hybrid |
|
|
|
|
|
|
|
|
git checkout production |
|
|
git checkout production |
|
|
npm i |
|
|
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 .. |