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.8KB

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