![]() |
12 months ago | |
---|---|---|
README.md | 12 months ago | |
columnsSample.png | 12 months ago | |
customization.css | 12 months ago | |
nginx_site | 12 months ago | |
reveal-md.service | 12 months ago |
README.md
Reveal-md setup manual
This manual will cover the installation process of reveal-md including how to use nginx with reverse proxy with an https certificate from let's encrypt
1. Reveal-md install
First install nodejs on the machine, the process might vary depending on the linux distribution. Official Nodejs Manual
Once you have npm installed you need to execute the following command in order to install reveal-md
npm install -g reveal-md
To check that reveal have been installed correctly execute:
reveal-md SLIDES.md --port 80
If everything is working correctly the slides should be accessible throught web browser
2.- reveal-md as service and customization
3. Nginx + certbot
First install nginx with your packet manager
apt update
apt install nginx
After that, install certbot, the process might vary depending on the linux distribution. If you have snap in the system it's the easiest way to install it.
Otherwise here you have a list of manuals on how to install it on any distribution. https://certbot.eff.org/all-instructions
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --nginx
In order to automatically renew the certificates, add the following command to the crontab.
sudo certbot renew --dry-run