This commit is contained in:
asyncnomi 2022-12-11 19:35:11 +01:00
parent 9fa5c4278e
commit 0c8ddd504b

View file

@ -8,6 +8,7 @@
* 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`
@ -20,3 +21,4 @@
* 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 configureation: `pm2 save`