Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

trias_appserver_script.sh 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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.1
  8. node --version
  9. npm --version
  10. npm install -g @angular/cli
  11. # echo "Enter the version of node you want to install: (Example. 'v16.19.1')"
  12. # read nodeversion
  13. # nvm install $nodeversion
  14. #ADDING GIT DOMAIN NAME TO HOSTS
  15. # echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts
  16. #PRODUCTION A SETUP
  17. cd ~
  18. cd Desktop
  19. mkdir chess
  20. cd chess
  21. mkdir production_A
  22. cd production_A
  23. git clone http://git.bbh.org.in/chess/project-genesis-backend
  24. cd project-genesis-backend
  25. git checkout production
  26. npm i
  27. cd ..
  28. git clone http://git.bbh.org.in/chess/project-genesis-frontend
  29. cd project-genesis-frontend
  30. git checkout production
  31. npm i
  32. cd ..
  33. git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
  34. cd BBH_Patient_Portal
  35. git checkout production
  36. npm i
  37. cd ..
  38. git clone http://git.bbh.org.in/chess/elixir-config-development
  39. cd elixir-config-development
  40. git checkout production
  41. npm i
  42. cd ..
  43. git clone http://git.bbh.org.in/chess/processmanager
  44. cd processmanager
  45. git checkout production
  46. npm i
  47. #PRODUCTION B SETUP
  48. cd ~
  49. cd Desktop
  50. cd chess
  51. mkdir production_B
  52. cd production_B
  53. git clone http://git.bbh.org.in/chess/project-genesis-backend
  54. cd project-genesis-backend
  55. git checkout production
  56. npm i
  57. cd ..
  58. git clone http://git.bbh.org.in/chess/project-genesis-frontend
  59. cd project-genesis-frontend
  60. git checkout production
  61. npm i
  62. cd ..
  63. git clone http://git.bbh.org.in/chess/BBH_Patient_Portal
  64. cd BBH_Patient_Portal
  65. git checkout production
  66. npm i
  67. cd ..
  68. git clone http://git.bbh.org.in/chess/elixir-config-development
  69. cd elixir-config-development
  70. git checkout production
  71. npm i
  72. cd ..
  73. git clone http://git.bbh.org.in/chess/processmanager
  74. cd processmanager
  75. git checkout production
  76. npm i