| # Installing Elixir in Ubuntu | # Installing Elixir in Ubuntu | ||||
| #### Tested for Ububtu 20.04 | |||||
| ###### Tested for Ububtu 20.04 | |||||
| ### Step 1: Install Dependencies | |||||
| #### 1a: Install Node | |||||
| ``` | |||||
| sudo apt update | |||||
| ``` | |||||
| ``` | |||||
| sudo apt upgrade | |||||
| ``` | |||||
| ``` | |||||
| sudo apt install nodejs | |||||
| ``` | |||||
| ``` | |||||
| node -v | |||||
| ``` | |||||
| ``` | |||||
| sudo apt install npm | |||||
| ``` | |||||
| Step 1: Install Dependencies | |||||
| 1a: Install Node | |||||
| 1b: Install Git | 1b: Install Git | ||||
| 1c: Clone elxr | 1c: Clone elxr | ||||
| Step 2: elxr pull | |||||
| ### Step 2: elxr pull | |||||
| Step 3: Switch branch | |||||
| ### Step 3: Switch branch | |||||
| elxr use elixir | elxr use elixir | ||||
| Step 4: SyncMaster (only for production) | |||||
| ### Step 4: SyncMaster (only for production) | |||||
| Step 5: Pull all instances | |||||
| ### Step 5: Pull all instances | |||||
| elxr npm i | elxr npm i | ||||