Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

linux_setup.sh 8.3KB

il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. # Download steps
  2. # wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux_setup.sh
  3. # chmod +x linux_setup.sh
  4. # ./linux_setup.sh
  5. #STORE GIT CREDENTIALS IN CACHE
  6. sudo yum install git
  7. # git config --global --unset credential.helper
  8. git config --global credential.helper store
  9. # git config --global credential.helper 'store --file ~/.git-credentials'
  10. # echo "Enter git username: "
  11. # read gitUser
  12. # echo "username=$gitUser" >> ~/.git-credentials
  13. # echo "Enter git password: "
  14. # read gitPassword
  15. # echo "password=$gitPassword" >> ~/.git-credentials
  16. # chmod 0600 ~/.git-credentials
  17. # Install prerequisites
  18. #NODE JS 16.17.1
  19. wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz
  20. tar -xf node-v16.17.1-linux-x64.tar.xz
  21. # Move the extracted folder to /usr/local/lib
  22. sudo mv node-v16.17.1-linux-x64 /usr/local/lib/
  23. # Create a symbolic link to the node executable
  24. sudo ln -s /usr/local/lib/node-v16.17.1-linux-x64/bin/node /usr/local/bin/node
  25. node -v
  26. #NPM
  27. sudo yum install npm
  28. #INSTALLING NODE JS
  29. npm install -g pm2
  30. npm install -g ember-cli
  31. npm install -g loopback-cli
  32. #production A SETUP
  33. cd ~
  34. cd Desktop
  35. mkdir chess
  36. cd chess
  37. mkdir production_B
  38. cd production_B
  39. # echo "Enter instance type: eg production/production"
  40. # read instancetype
  41. # echo "Enter FolderName: eg A/B/C"
  42. # read foldername
  43. # # echo "username=$gitUser" >> ~/.git-credentials
  44. # mkdir $instancetype_$foldername
  45. # cd $instancetype_$foldername
  46. npm install pm2 -g
  47. ln -s cihsr-config-production/ elixir-config-production
  48. git clone http://git.bbh.org.in/chess/cihsr-config-production
  49. cd cihsr-config-production
  50. git checkout production
  51. git pull
  52. git pull origin master
  53. rm -rf package-lock.json
  54. npm i --force
  55. #TO CREATE SYMLINK
  56. cd ..
  57. ln -s cihsr-config-production/ config
  58. git clone http://git.bbh.org.in/chess/cihsr-data
  59. cd cihsr-data
  60. git checkout production
  61. git pull
  62. # git pull origin master
  63. rm -rf package-lock.json
  64. npm i --force
  65. cd ..
  66. ln -s cihsr-data/ data
  67. git clone http://git.bbh.org.in/chess/ember-masonry-grid
  68. cd ember-masonry-grid
  69. git checkout production
  70. git pull
  71. git pull origin master
  72. rm -rf package-lock.json
  73. npm i --force
  74. cd ..
  75. git clone http://git.bbh.org.in/chess/cihsr-clientconfig-production
  76. cd cihsr-clientconfig-production
  77. git checkout production
  78. git pull
  79. git pull origin master
  80. rm -rf package-lock.json
  81. npm i --force
  82. cd ..
  83. ln -s cihsr-clientconfig-production/ clientconfig
  84. cd ..
  85. git clone http://git.bbh.org.in/chess/bbhverse
  86. cd bbhverse
  87. git checkout production
  88. git pull
  89. git pull origin master
  90. rm -rf package-lock.json
  91. npm i --force
  92. cd ..
  93. git clone http://git.bbh.org.in/chess/clientverse
  94. cd clientverse
  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. git clone http://git.bbh.org.in/chess/serververse
  102. cd serververse
  103. git checkout production
  104. git pull
  105. git pull origin master
  106. rm -rf package-lock.json
  107. npm i --force
  108. cd ..
  109. git clone http://git.bbh.org.in/chess/elxr
  110. cd elxr
  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. git clone http://git.bbh.org.in/chess/ember-searchable-select
  118. cd ember-searchable-select
  119. git checkout production
  120. git pull
  121. git pull origin master
  122. rm -rf package-lock.json
  123. npm i --force
  124. cd ..
  125. git clone http://git.bbh.org.in/chess/loopback-component-jsonapi
  126. cd loopback-component-jsonapi
  127. git checkout production
  128. git pull
  129. git pull origin master
  130. rm -rf package-lock.json
  131. npm i --force
  132. cd ..
  133. git clone http://git.bbh.org.in/chess/loopback-jsonapi-model-serializer
  134. cd loopback-jsonapi-model-serializer
  135. git checkout production
  136. git pull
  137. git pull origin master
  138. rm -rf package-lock.json
  139. npm i --force
  140. npm run build
  141. cd ..
  142. git clone http://git.bbh.org.in/chess/loopback-connector-mysql
  143. cd loopback-connector-mysql
  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. git clone http://git.bbh.org.in/chess/loopback-connector-ds
  151. cd loopback-connector-ds
  152. git checkout production
  153. git pull
  154. git pull origin master
  155. rm -rf package-lock.json
  156. npm i --force
  157. cd ..
  158. git clone http://git.bbh.org.in/chess/setup
  159. cd setup
  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. git clone http://git.bbh.org.in/chess/ember-service-worker
  167. cd ember-service-worker
  168. git checkout production
  169. git pull
  170. git pull origin master
  171. rm -rf package-lock.json
  172. npm i --force
  173. cd ..
  174. git clone http://git.bbh.org.in/chess/ember-service-worker-asset-cache
  175. cd ember-service-worker-asset-cache
  176. git checkout production
  177. git pull
  178. git pull origin master
  179. rm -rf package-lock.json
  180. npm i --force
  181. cd ..
  182. git clone http://git.bbh.org.in/chess/ember-service-worker-cache-fallback
  183. cd ember-service-worker-cache-fallback
  184. git checkout production
  185. git pull
  186. git pull origin master
  187. rm -rf package-lock.json
  188. npm i --force
  189. cd ..
  190. git clone http://git.bbh.org.in/chess/ember-service-worker-index
  191. cd ember-service-worker-index
  192. git checkout production
  193. git pull
  194. git pull origin master
  195. rm -rf package-lock.json
  196. npm i --force
  197. cd ..
  198. git clone http://git.bbh.org.in/chess/ember-sw-client-route
  199. cd ember-sw-client-route
  200. git checkout production
  201. git pull
  202. git pull origin master
  203. rm -rf package-lock.json
  204. npm i --force
  205. cd ..
  206. git clone http://git.bbh.org.in/chess/global-this
  207. cd global-this
  208. git checkout production
  209. git pull
  210. git pull origin master
  211. rm -rf package-lock.json
  212. npm i --force
  213. cd ..
  214. git clone http://git.bbh.org.in/chess/ember-cp-validations
  215. cd ember-cp-validations
  216. git checkout production
  217. git pull
  218. git pull origin master
  219. rm -rf package-lock.json
  220. npm i --force
  221. cd ..
  222. git clone http://git.bbh.org.in/chess/loopback-connector
  223. cd loopback-connector
  224. git checkout production
  225. git pull
  226. git pull origin master
  227. rm -rf package-lock.json
  228. npm i --force
  229. cd ..
  230. git clone http://git.bbh.org.in/chess/loopback
  231. cd loopback
  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. git clone http://git.bbh.org.in/chess/loopback-datasource-juggler
  239. cd loopback-datasource-juggler
  240. git checkout production
  241. git pull
  242. git pull origin master
  243. rm -rf package-lock.json
  244. npm i --force
  245. cd ..
  246. git clone http://git.bbh.org.in/chess/loopback-connector-mssql
  247. cd loopback-connector-mssql
  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. git clone http://git.bbh.org.in/chess/loopback-filters
  255. cd loopback-filters
  256. git checkout production
  257. git pull
  258. git pull origin master
  259. rm -rf package-lock.json
  260. npm i --force
  261. cd ..
  262. git clone http://git.bbh.org.in/chess/loopback-connector-sqlite3
  263. cd loopback-connector-sqlite3
  264. git checkout production
  265. git pull
  266. git pull origin master
  267. rm -rf package-lock.json
  268. npm i --force
  269. cd ..
  270. git clone http://git.bbh.org.in/chess/chess-server-lib
  271. cd chess-server-lib
  272. git checkout production
  273. git pull
  274. git pull origin master
  275. rm -rf package-lock.json
  276. npm i --force
  277. cd server
  278. rm -rf package-lock.json
  279. npm i --force
  280. cd ..
  281. cd ..
  282. git clone http://git.bbh.org.in/chess/cihsr-server
  283. cd cihsr-server
  284. git checkout production
  285. git pull
  286. git pull origin master
  287. rm -rf package-lock.json
  288. npm i --force
  289. cd ..
  290. git clone http://git.bbh.org.in/chess/bbh_patient_portal
  291. cd bbh_patient_portal
  292. git checkout production
  293. git pull
  294. git pull origin master
  295. rm -rf package-lock.json
  296. npm i --force
  297. cd ..
  298. git clone http://git.bbh.org.in/chess/project-genesis-frontend
  299. cd project-genesis-frontend
  300. git checkout production
  301. git pull
  302. git pull origin master
  303. rm -rf package-lock.json
  304. npm i --force
  305. cd ..
  306. git clone http://git.bbh.org.in/chess/project-genesis-backend
  307. cd project-genesis-backend
  308. git checkout production
  309. git pull
  310. git pull origin master
  311. rm -rf package-lock.json
  312. npm i --force
  313. cd ..
  314. git clone http://git.bbh.org.in/chess/processmanager
  315. cd processmanager
  316. git checkout production
  317. git pull
  318. git pull origin master
  319. rm -rf package-lock.json
  320. npm i --force
  321. cd ..
  322. git clone http://git.bbh.org.in/chess/client
  323. cd client
  324. git checkout production
  325. git pull
  326. git pull origin master
  327. rm -rf package-lock.json
  328. npm i --force
  329. bower install
  330. node_modules/.bin/bower install
  331. cd ..
  332. git clone http://git.bbh.org.in/chess/chess-client-lib
  333. cd chess-client-lib
  334. git checkout production
  335. git pull
  336. git pull origin master
  337. rm -rf package-lock.json
  338. npm i --force
  339. cd ..
  340. git clone http://git.bbh.org.in/chess/elixir-client
  341. cd elixir-client
  342. git checkout production
  343. git pull
  344. git pull origin master
  345. rm -rf package-lock.json
  346. npm i --force
  347. cd chess-client-lib
  348. rm -rf package-lock.json
  349. npm i --force
  350. cd ..
  351. cd client
  352. rm -rf package-lock.json
  353. npm i --force
  354. node_modules/.bin/bower i
  355. node_modules/.bin/ember s