Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

trias_appserver_script.sh 1.7KB

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