選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. #development A SETUP
  30. cd ~
  31. cd Desktop
  32. mkdir chess
  33. cd chess
  34. mkdir development_A
  35. cd development_A
  36. git clone http://git.bbh.org.in/chess/cihsr-config-development
  37. cd cihsr-config-development
  38. git checkout development
  39. npm i
  40. #TO CREATE SYMLINK
  41. cd ..
  42. ln -s cihsr-config-development/ config
  43. git clone http://git.bbh.org.in/chess/cihsr-data
  44. cd cihsr-data
  45. git checkout development
  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 development
  52. npm i
  53. cd ..
  54. git clone http://git.bbh.org.in/chess/bbhverse
  55. cd bbhverse
  56. git checkout development
  57. npm i
  58. cd ..
  59. git clone http://git.bbh.org.in/chess/clientverse
  60. cd clientverse
  61. git checkout development
  62. npm i
  63. cd ..
  64. git clone http://git.bbh.org.in/chess/serververse
  65. cd serververse
  66. git checkout development
  67. npm i
  68. cd ..
  69. git clone http://git.bbh.org.in/chess/elxr
  70. cd elxr
  71. git checkout development
  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 development
  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 development
  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 development
  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 development
  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 development
  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 development
  102. npm i
  103. cd ..
  104. git clone http://git.bbh.org.in/chess/setup
  105. cd setup
  106. git checkout development
  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 development
  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 development
  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 development
  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 development
  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 development
  132. npm i
  133. cd ..
  134. git clone http://git.bbh.org.in/chess/global-this
  135. cd global-this
  136. git checkout development
  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 development
  142. npm i
  143. cd ..
  144. git clone http://git.bbh.org.in/chess/loopback-connector
  145. cd loopback-connector
  146. git checkout development
  147. npm i
  148. cd ..
  149. git clone http://git.bbh.org.in/chess/loopback
  150. cd loopback
  151. git checkout development
  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 development
  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 development
  162. npm i
  163. cd ..
  164. git clone http://git.bbh.org.in/chess/loopback-filters
  165. cd loopback-filters
  166. git checkout development
  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 development
  172. npm i
  173. cd ..
  174. git clone http://git.bbh.org.in/chess/cihsr-server
  175. cd cihsr-server
  176. git checkout development
  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 development
  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 development
  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 development
  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 development
  197. npm i
  198. cd ..
  199. git clone http://git.bbh.org.in/chess/processmanager
  200. cd processmanager
  201. git checkout development
  202. npm i
  203. cd ..
  204. git clone http://git.bbh.org.in/chess/client
  205. cd client
  206. git checkout development
  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 development
  214. npm i
  215. cd ..
  216. git clone http://git.bbh.org.in/chess/elixir-client
  217. cd elixir-client
  218. git checkout development
  219. npm i
  220. cd chess-client-lib
  221. npm i
  222. cd ..