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.

linux_setup.sh 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. #STORE GIT CREDENTIALS IN CACHE
  2. git config --global credential.helper store
  3. git config --global credential.helper 'store --file ~/.git-credentials'
  4. echo "Enter git username: "
  5. read gitUser
  6. echo "username=$gitUser" >> ~/.git-credentials
  7. echo "Enter git password: "
  8. read gitPassword
  9. echo "password=$gitPassword" >> ~/.git-credentials
  10. chmod 0600 ~/.git-credentials
  11. # Install prerequisites
  12. #NODE JS 16.17.1
  13. wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz
  14. tar -xf node-v16.17.1-linux-x64.tar.xz
  15. # Move the extracted folder to /usr/local/lib
  16. sudo mv node-v16.17.1-linux-x64 /usr/local/lib/
  17. # Create a symbolic link to the node executable
  18. sudo ln -s /usr/local/lib/node-v16.17.1-linux-x64/bin/node /usr/local/bin/node
  19. node -v
  20. #NPM
  21. sudo yum install npm
  22. #INSTALLING NODE JS
  23. npm install -g pm2
  24. npm install -g ember-cli
  25. npm install -g loopback-cli
  26. #PRODUCTION A SETUP
  27. cd ~
  28. cd Desktop
  29. mkdir chess
  30. cd chess
  31. mkdir production_A
  32. cd production_A
  33. git clone https://git.bbh.org.in/chess/ember-masonry-grid
  34. cd ember-masonry-grid
  35. git checkout production
  36. npm i
  37. cd ..
  38. git clone https://git.bbh.org.in/chess/bbhverse
  39. cd bbhverse
  40. git checkout production
  41. npm i
  42. cd ..
  43. git clone https://git.bbh.org.in/chess/clientverse
  44. cd clientverse
  45. git checkout production
  46. npm i
  47. cd ..
  48. git clone https://git.bbh.org.in/chess/serververse
  49. cd serververse
  50. git checkout production
  51. npm i
  52. cd ..
  53. git clone https://git.bbh.org.in/chess/client
  54. cd client
  55. git checkout production
  56. npm i
  57. cd ..
  58. git clone https://git.bbh.org.in/chess/elxr
  59. cd elxr
  60. git checkout production
  61. npm i
  62. cd ..
  63. git clone https://git.bbh.org.in/chess/ember-searchable-select
  64. cd ember-searchable-select
  65. git checkout production
  66. npm i
  67. cd ..
  68. git clone https://git.bbh.org.in/chess/loopback-component-jsonapi
  69. cd loopback-component-jsonapi
  70. git checkout production
  71. npm i
  72. cd ..
  73. git clone https://git.bbh.org.in/chess/loopback-jsonapi-model-serializer
  74. cd loopback-jsonapi-model-serializer
  75. git checkout production
  76. npm i
  77. cd ..
  78. git clone https://git.bbh.org.in/chess/loopback-connector-mysql
  79. cd loopback-connector-mysql
  80. git checkout production
  81. npm i
  82. cd ..
  83. git clone https://git.bbh.org.in/chess/cihsr-config-development
  84. cd cihsr-config-development
  85. git checkout production
  86. npm i
  87. cd ..
  88. git clone https://git.bbh.org.in/chess/cihsr-config-production
  89. cd cihsr-config-production
  90. git checkout production
  91. npm i
  92. cd ..
  93. git clone https://git.bbh.org.in/chess/cihsr-data
  94. cd cihsr-data
  95. git checkout production
  96. npm i
  97. cd ..
  98. git clone https://git.bbh.org.in/chess/loopback-connector-ds
  99. cd loopback-connector-ds
  100. git checkout production
  101. npm i
  102. cd ..
  103. git clone https://git.bbh.org.in/chess/chess-server-lib
  104. cd chess-server-lib
  105. git checkout production
  106. npm i
  107. cd ..
  108. git clone https://git.bbh.org.in/chess/setup
  109. cd setup
  110. git checkout production
  111. npm i
  112. cd ..
  113. git clone https://git.bbh.org.in/chess/elixir-client-todos
  114. cd elixir-client-todos
  115. git checkout production
  116. npm i
  117. cd ..
  118. git clone https://git.bbh.org.in/chess/ember-service-worker
  119. cd ember-service-worker
  120. git checkout production
  121. npm i
  122. cd ..
  123. git clone https://git.bbh.org.in/chess/ember-service-worker-asset-cache
  124. cd ember-service-worker-asset-cache
  125. git checkout production
  126. npm i
  127. cd ..
  128. git clone https://git.bbh.org.in/chess/ember-service-worker-cache-fallback
  129. cd ember-service-worker-cache-fallback
  130. git checkout production
  131. npm i
  132. cd ..
  133. git clone https://git.bbh.org.in/chess/ember-service-worker-index
  134. cd ember-service-worker-index
  135. git checkout production
  136. npm i
  137. cd ..
  138. git clone https://git.bbh.org.in/chess/ember-sw-client-route
  139. cd ember-sw-client-route
  140. git checkout production
  141. npm i
  142. cd ..
  143. git clone https://git.bbh.org.in/chess/global-this
  144. cd global-this
  145. git checkout production
  146. npm i
  147. cd ..
  148. git clone https://git.bbh.org.in/chess/ember-cp-validations
  149. cd ember-cp-validations
  150. git checkout production
  151. npm i
  152. cd ..
  153. git clone https://git.bbh.org.in/chess/chess-client-lib
  154. cd chess-client-lib
  155. git checkout production
  156. npm i
  157. cd ..
  158. git clone https://git.bbh.org.in/chess/loopback-connector
  159. cd loopback-connector
  160. git checkout production
  161. npm i
  162. cd ..
  163. git clone https://git.bbh.org.in/chess/loopback
  164. cd loopback
  165. git checkout production
  166. npm i
  167. cd ..
  168. git clone https://git.bbh.org.in/chess/loopback-datasource-juggler
  169. cd loopback-datasource-juggler
  170. git checkout production
  171. npm i
  172. cd ..
  173. git clone https://git.bbh.org.in/chess/loopback-connector-mssql
  174. cd loopback-connector-mssql
  175. git checkout production
  176. npm i
  177. cd ..
  178. git clone https://git.bbh.org.in/chess/loopback-filters
  179. cd loopback-filters
  180. git checkout production
  181. npm i
  182. cd ..
  183. git clone https://git.bbh.org.in/chess/loopback-connector-sqlite3
  184. cd loopback-connector-sqlite3
  185. git checkout production
  186. npm i
  187. cd ..
  188. git clone https://git.bbh.org.in/chess/Trias-Elixir_Hybrid
  189. cd Trias-Elixir_Hybrid
  190. git checkout production
  191. npm i
  192. cd ..
  193. git clone https://git.bbh.org.in/chess/bbh_patient_portal
  194. cd bbh_patient_portal
  195. git checkout production
  196. npm i
  197. cd ..
  198. git clone https://git.bbh.org.in/chess/project-genesis-frontend
  199. cd project-genesis-frontend
  200. git checkout production
  201. npm i
  202. cd ..
  203. git clone https://git.bbh.org.in/chess/project-genesis-backend
  204. cd project-genesis-backend
  205. git checkout production
  206. npm i
  207. cd ..
  208. git clone http://git.bbh.org.in/chess/processmanager
  209. cd processmanager
  210. git checkout production
  211. npm i
  212. #TO CREATE SYMLINK
  213. cd ..
  214. ln -s cihsr-config-production/ config