555
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

trias_appserver_script.sh 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #INSTALLING NODE JS
  2. cd ~
  3. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
  4. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
  5. source ~/.bashrc
  6. nvm list-remote
  7. nvm install v16.19.0
  8. #ADDING GIT DOMAIN NAME TO HOSTS
  9. echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts
  10. #PRODUCTION A SETUP
  11. cd ~
  12. cd Desktop
  13. mkdir chess
  14. cd chess
  15. mkdir production_A
  16. git clone http://git.bbh.org.in/chess/project-genesis-backend
  17. cd project-genesis-backend
  18. git checkout production
  19. npm i
  20. cd ..
  21. git clone http://git.bbh.org.in/chess/project-genesis-frontend
  22. cd project-genesis-frontend
  23. git checkout production
  24. npm i
  25. cd ..
  26. git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
  27. cd BBH_Patient_Portal
  28. git checkout production
  29. npm i
  30. cd ..
  31. git clone http://git.bbh.org.in/chess/elixir-config-development
  32. cd elixir-config-development
  33. git checkout production
  34. npm i
  35. cd ..
  36. git clone http://git.bbh.org.in/chess/processmanager
  37. cd processmanager
  38. git checkout production
  39. npm i
  40. #PRODUCTION B SETUP
  41. cd ~
  42. cd Desktop
  43. mkdir chess
  44. cd chess
  45. mkdir production_B
  46. git clone http://git.bbh.org.in/chess/project-genesis-backend
  47. cd project-genesis-backend
  48. git checkout production
  49. npm i
  50. cd ..
  51. git clone http://git.bbh.org.in/chess/project-genesis-frontend
  52. cd project-genesis-frontend
  53. git checkout production
  54. npm i
  55. cd ..
  56. git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
  57. cd BBH_Patient_Portal
  58. git checkout production
  59. npm i
  60. cd ..
  61. git clone http://git.bbh.org.in/chess/elixir-config-development
  62. cd elixir-config-development
  63. git checkout production
  64. npm i
  65. cd ..
  66. git clone http://git.bbh.org.in/chess/processmanager
  67. cd processmanager
  68. git checkout production
  69. npm i