bde-liste/README.md
2022-12-11 16:53:20 +01:00

17 lines
550 B
Markdown

# Website for Metz's BDE List
## Installation:
1. Requirements:
* Create a bde-list user in sudoers: `sudo useradd -m -s /bin/bash -G sudo bde-list` and connect to it.
* Install nvm: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash`
* Install node: `nvm install 18.12.1 && nvm use 18.12.1`
* Install pm2: `npm install pm2 -g`
* Install nginx: `sudo apt-get install nginx`
2. Installation:
* Clone this repo
* Install dependencies: `npm i`
* Run the server: `sudo pm2 start index.js --name bde-liste -i max`