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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. ### **AUTOMATED INSTALL**
  37. save https://git.bbh.org.in/chess/elxr/src/branch/master/i.win.sh to folder.
  38. cscript i.win.sh
  39. Addtional steps For Production
  40. 1. NODE_ENV=production elxr use elixir
  41. 2. SyncMaster
  42. ### **MANUAL INSTALL**
  43. #### Step 1: Install Dependencies
  44. * ##### Install Node
  45. * ##### Install Git
  46. * ##### Clone elxr
  47. ```
  48. git clone http://git.bbh.org.in/chess/elxr.git
  49. ```
  50. * ##### Create elxr alias
  51. ```
  52. cd elxr
  53. npm link
  54. ```
  55. #### Step 2: elxr pull
  56. #### Step 3: Switch branch
  57. #### Step 4: SyncMaster (only for production)
  58. #### Step 5: Pull all instances