No description
Find a file
2023-01-10 20:38:02 +01:00
static bla 2023-01-10 13:37:49 +01:00
.gitignore gitignore update 2023-01-04 00:03:23 +01:00
index.js bla 2023-01-10 20:38:02 +01:00
ldap-conf.js edit ldap auth 2022-12-11 19:22:20 +01:00
LICENSE added front 2022-12-11 15:49:41 +01:00
package.json bla 2023-01-08 22:24:03 +01:00
README.md Update 'README.md' 2022-12-11 18:37:42 +00:00
reverse-proxy.conf bla 2022-12-14 01:03:10 +01:00
stats.js bla 2023-01-09 16:17:01 +01:00

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
  • Make pm2 launch on reboot: pm2 startup
  • Install nginx: sudo apt-get install nginx
  • Remove default virtual host: sudo unlink /etc/nginx/sites-enabled/default
  1. Installation:
  • Clone this repo
  • Install dependencies: npm i
  • move conf: sudo mv reverse-proxy.conf /etc/nginx/sites-available/
  • Enable site: sudo ln -s /etc/nginx/sites-available/reverse-proxy.conf /etc/nginx/sites-enabled/reverse-proxy.conf
  • restart nginx: sudo systemctl restart nginx
  • Enter your LDAP bind user cred by running: node ldap-conf.js
  • Run the server: pm2 start index.js --name bde-list -i 1
  • Save current configuration: pm2 save