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

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