12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #INSTALLING NODE JS
- 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 | bash
- source ~/.bashrc
- nvm list-remote
- nvm install v16.19.1
- node --version
- npm --version
- npm install -g @angular/cli
- npm install pm2
- # echo "Enter the version of node you want to install: (Example. 'v16.19.1')"
- # read nodeversion
- # nvm install $nodeversion
-
- #ADDING GIT DOMAIN NAME TO HOSTS
- # echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts
-
- #PRODUCTION A SETUP
- cd ~
- cd Desktop
- mkdir chess
- cd chess
- mkdir production_A
- cd production_A
- git clone http://git.bbh.org.in/chess/project-genesis-backend
- cd project-genesis-backend
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/project-genesis-frontend
- cd project-genesis-frontend
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
- cd BBH_Patient_Portal
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/elixir-config-development
- cd elixir-config-development
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/processmanager
- cd processmanager
- git checkout production
- npm i
-
- #PRODUCTION B SETUP
- cd ~
- cd Desktop
- cd chess
- mkdir production_B
- cd production_B
- git clone http://git.bbh.org.in/chess/project-genesis-backend
- cd project-genesis-backend
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/project-genesis-frontend
- cd project-genesis-frontend
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
- cd BBH_Patient_Portal
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/elixir-config-development
- cd elixir-config-development
- git checkout production
- npm i
-
- cd ..
- git clone http://git.bbh.org.in/chess/processmanager
- cd processmanager
- git checkout production
- npm i
|