bde-liste/README.md

18 lines
550 B
Markdown
Raw Normal View History

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