|
|
|
|
|
|
|
|
|
|
|
#STORE GIT CREDENTIALS IN CACHE |
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
#INSTALLING NODE JS |
|
|
#INSTALLING NODE JS |
|
|
cd ~ |
|
|
cd ~ |
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh |
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh |
|
|
|
|
|
|
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|
git clone http://git.bbh.org.in/chess/BBH_Patient_Portal |
|
|
|
|
|
cd BBH_Patient_Portal |
|
|
|
|
|
|
|
|
git clone http://git.bbh.org.in/chess/bbh_patient_portal |
|
|
|
|
|
cd bbh_patient_portal |
|
|
git checkout production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|
|
|
cd .. |
|
|
cd .. |
|
|
git clone http://git.bbh.org.in/chess/BBH_Patient_Portal |
|
|
|
|
|
cd BBH_Patient_Portal |
|
|
|
|
|
|
|
|
git clone http://git.bbh.org.in/chess/bbh_patient_portal |
|
|
|
|
|
cd bbh_patient_portal |
|
|
git checkout production |
|
|
git checkout production |
|
|
npm i |
|
|
npm i |
|
|
|
|
|
|