You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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