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.

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