Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. # Download steps
  2. # run this file from the root of instance, eg either in prodA / prodB folder
  3. # wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux/centos/pullprod.sh
  4. # chmod +x pullprod.sh
  5. # ./pullprod.sh
  6. cd config
  7. git checkout production
  8. git pull
  9. rm -rf package-lock.json
  10. npm i --force
  11. cd ..
  12. cd data
  13. git checkout production
  14. git pull
  15. rm -rf package-lock.json
  16. npm i --force
  17. cd ..
  18. cd clientconfig
  19. git checkout production
  20. git pull
  21. rm -rf package-lock.json
  22. npm i --force
  23. cd ..
  24. cd ember-masonry-grid
  25. git checkout production
  26. git pull
  27. rm -rf package-lock.json
  28. npm i --force
  29. cd ..
  30. cd bbhverse
  31. git checkout production
  32. git pull
  33. rm -rf package-lock.json
  34. npm i --force
  35. cd ..
  36. cd clientverse
  37. git checkout production
  38. git pull
  39. rm -rf package-lock.json
  40. npm i --force
  41. cd ..
  42. cd serververse
  43. git checkout production
  44. git pull
  45. rm -rf package-lock.json
  46. npm i --force
  47. cd ..
  48. cd elxr
  49. git checkout production
  50. git pull
  51. rm -rf package-lock.json
  52. npm i --force
  53. cd ..
  54. cd ember-searchable-select
  55. git checkout production
  56. git pull
  57. rm -rf package-lock.json
  58. npm i --force
  59. cd ..
  60. cd loopback-component-jsonapi
  61. git checkout production
  62. git pull
  63. rm -rf package-lock.json
  64. npm i --force
  65. cd ..
  66. cd loopback-jsonapi-model-serializer
  67. git checkout production
  68. git pull
  69. rm -rf package-lock.json
  70. npm i --force
  71. npm run build
  72. cd ..
  73. cd loopback-connector-mysql
  74. git checkout production
  75. git pull
  76. rm -rf package-lock.json
  77. npm i --force
  78. cd ..
  79. cd loopback-connector-ds
  80. git checkout production
  81. git pull
  82. rm -rf package-lock.json
  83. npm i --force
  84. cd ..
  85. cd setup
  86. git checkout production
  87. git pull
  88. rm -rf package-lock.json
  89. npm i --force
  90. cd ..
  91. cd ember-service-worker
  92. git checkout production
  93. git pull
  94. rm -rf package-lock.json
  95. npm i --force
  96. cd ..
  97. cd ember-service-worker-asset-cache
  98. git checkout production
  99. git pull
  100. rm -rf package-lock.json
  101. npm i --force
  102. cd ..
  103. cd ember-service-worker-cache-fallback
  104. git checkout production
  105. git pull
  106. rm -rf package-lock.json
  107. npm i --force
  108. cd ..
  109. cd ember-service-worker-index
  110. git checkout production
  111. git pull
  112. rm -rf package-lock.json
  113. npm i --force
  114. cd ..
  115. cd ember-sw-client-route
  116. git checkout production
  117. git pull
  118. rm -rf package-lock.json
  119. npm i --force
  120. cd ..
  121. cd global-this
  122. git checkout production
  123. git pull
  124. rm -rf package-lock.json
  125. npm i --force
  126. cd ..
  127. cd ember-cp-validations
  128. git checkout production
  129. git pull
  130. rm -rf package-lock.json
  131. npm i --force
  132. cd ..
  133. cd loopback-connector
  134. git checkout production
  135. git pull
  136. rm -rf package-lock.json
  137. npm i --force
  138. cd ..
  139. cd loopback
  140. git checkout production
  141. git pull
  142. rm -rf package-lock.json
  143. npm i --force
  144. cd ..
  145. cd loopback-datasource-juggler
  146. git checkout production
  147. git pull
  148. rm -rf package-lock.json
  149. npm i --force
  150. cd ..
  151. cd loopback-connector-mssql
  152. git checkout production
  153. git pull
  154. rm -rf package-lock.json
  155. npm i --force
  156. cd ..
  157. cd loopback-filters
  158. git checkout production
  159. git pull
  160. rm -rf package-lock.json
  161. npm i --force
  162. cd ..
  163. cd loopback-connector-sqlite3
  164. git checkout production
  165. git pull
  166. rm -rf package-lock.json
  167. npm i --force
  168. cd ..
  169. cd chess-server-lib
  170. git checkout production
  171. git pull
  172. rm -rf package-lock.json
  173. npm i --force
  174. cd server
  175. rm -rf package-lock.json
  176. npm i --force
  177. cd ..
  178. cd ..
  179. cd cihsr-server
  180. git checkout production
  181. git pull
  182. rm -rf package-lock.json
  183. npm i --force
  184. cd ..
  185. cd bbh_patient_portal
  186. git checkout production
  187. git pull
  188. rm -rf package-lock.json
  189. npm i --force
  190. cd ..
  191. cd project-genesis-frontend
  192. git checkout production
  193. git pull
  194. rm -rf package-lock.json
  195. npm i --force
  196. cd ..
  197. cd project-genesis-backend
  198. git checkout production
  199. git pull
  200. rm -rf package-lock.json
  201. npm i --force
  202. cd ..
  203. cd processmanager
  204. git checkout production
  205. git pull
  206. rm -rf package-lock.json
  207. npm i --force
  208. cd ..
  209. cd client
  210. git checkout production
  211. git pull
  212. rm -rf package-lock.json
  213. npm i --force
  214. bower install
  215. node_modules/.bin/bower install
  216. cd ..
  217. cd chess-client-lib
  218. git checkout production
  219. git pull
  220. rm -rf package-lock.json
  221. npm i --force
  222. cd ..
  223. cd elixir-client
  224. git checkout production
  225. git pull
  226. rm -rf package-lock.json
  227. npm i --force
  228. cd chess-client-lib
  229. rm -rf package-lock.json
  230. npm i --force
  231. cd ..
  232. cd client
  233. rm -rf package-lock.json
  234. npm i --force
  235. node_modules/.bin/bower i
  236. npm run build-prod
  237. pm2 kill
  238. cd ../processmanager
  239. pm2 start ecosystem-config.js --env production