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.

readme.md 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Installing Elixir in Ubuntu
  2. ### **AUTOMATED INSTALL**
  3. wget -q -O - https://git.bbh.org.in/chess/elxr/src/branch/master/i.lin.sh | bash
  4. Addtional steps For Production
  5. 1. NODE_ENV=production elxr use elixir
  6. 2. SyncMaster
  7. ### **MANUAL INSTALL**
  8. * ### Step 1: Install Dependencies
  9. ###### Tested for Ububtu 20.04
  10. #### 1a: Install Node
  11. ```
  12. sudo apt update
  13. ```
  14. ```
  15. sudo apt upgrade
  16. ```
  17. ```
  18. sudo apt install nodejs
  19. ```
  20. ```
  21. node -v
  22. ```
  23. ```
  24. sudo apt install npm
  25. ```
  26. 1b: Install Git
  27. 1c: Clone elxr
  28. * ### Step 2: elxr pull
  29. * ### Step 3: Switch branch
  30. elxr use elixir
  31. * ### Step 4: SyncMaster (only for production)
  32. * ### Step 5: Pull all instances
  33. elxr npm i
  34. -----
  35. # Installing Elixir in Windows
  36. 1) On the target drive ( D: ) preferably. Create a folder D:\chess\dev
  37. 2) For production create D:\chess\ProductionA, D:\chess\ProductionB
  38. ### **AUTOMATED INSTALL**
  39. save https://git.bbh.org.in/chess/elxr/src/branch/master/i.win.js to folder.
  40. cscript i.win.js
  41. Addtional steps For Production
  42. 1. NODE_ENV=production elxr use elixir
  43. 2. SyncMaster
  44. ### **MANUAL INSTALL**
  45. #### Step 1: Install Dependencies
  46. * ##### Install Node
  47. * ##### Install Git
  48. * ##### Clone elxr
  49. ```
  50. git clone http://git.bbh.org.in/chess/elxr.git
  51. ```
  52. * ##### Create elxr alias
  53. ```
  54. cd elxr
  55. npm link
  56. ```
  57. #### Step 2: elxr pull
  58. #### Step 3: Switch branch
  59. #### Step 4: SyncMaster (only for production)
  60. #### Step 5: Pull all instances