|
|
|
@ -6,12 +6,13 @@ Repo du frontend pour le site de liste du bde |
|
|
|
|
|
|
|
1. Requirements: |
|
|
|
|
|
|
|
Install nvm: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash` |
|
|
|
Install node: `nvm install 18.12.1` |
|
|
|
Install npm: `apt install npm` |
|
|
|
Install pm2: `npm install pm2 -g` |
|
|
|
Install nvm: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash` |
|
|
|
Install node: `nvm install 18.12.1` |
|
|
|
Install npm: `apt install npm` |
|
|
|
Install pm2: `npm install pm2 -g` |
|
|
|
|
|
|
|
2. Installation: |
|
|
|
|
|
|
|
* Clone this repo |
|
|
|
* |
|
|
|
* Install dependencies: `npm i` |
|
|
|
* Run the server: `sudo pm2 start index.js --name bde-liste -i max` |
|
|
|
|