Skip to content

artdotlis/TemplRJS

Repository files navigation

TemplRJS

release: 0.1.0 The Unlicense Husky Prettier Enabled ESLint Enabled Code Style: Airbnb


Description

A template builder for a reveal.js presentation.


Requirements

  • node: ~18.12
  • npm: ~9.1

Docker

First build the image:

docker build -t pres .

For starting the presentation:

  1. Simple presentation start:

    docker run --name simple_pres -d -p 8080:80 pres
  2. Change nginx configurations:

    docker run --name simple_pres -d -p 8080:80 -v /new/nginx.conf:/etc/nginx/nginx.conf pres
    docker run --name simple_pres -d -p 8080:80 -v /new/nginx.d:/etc/nginx/conf.d/ pres
  3. Change presentation configuration:

    docker run --name simple_pres -d -p 8080:80 -v /new/configs:/var/www/configs pres
  4. Change presentation assets (like slides):

    docker run --name simple_pres -d -p 8080:80 -v /new/assets:/var/www/assets pres