Skip to content

Reveal JS Presentation Software in a Docker Container

Notifications You must be signed in to change notification settings

jankeirse/revealjs-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RevealJS-Docker

A dockerized version of the Reveal JS presentation software. To try it out, just do:

docker run -d -p 8000:8000 amouat/revealjs:latest

And open a browser to http://localhost:8000 (use the IP of your VM if using boot2docker, which can be found by running boot2docker ip).

To use your own slides, replace /revealjs/pres/slides.md with your own slides in Markdown format. The easiest way to do this is with the -v flag e.g:

docker run -d -p 8000:8000 -v /path/to/my/slides.md:/revealjs/pres/slides.md amouat/revealjs:latest

You can use the the test slides to get an idea for the formatting.

If you want to use straight HTML for the slides, mount the html at /revealjs/index.html.

If you need to include other files e.g. images, keep them with the presentation file and just mount the directory e.g:

docker run -d -p 8000:8000 -v /my/slide/dir:/revealjs/pres amouat/revealjs:latest

This project is heavily based on Peter Parente's revealjs. This differences are that this version has an updated Dockerfile which uses the NodeJS official image and removes a problematic VOLUME command.

Stable Version

Currently, the Dockerfile just grabs the newest version of everything, which means it could potentially break at any point. I intend to add another branch which has pegged versions of everything.

About

Reveal JS Presentation Software in a Docker Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 67.2%
  • HTML 30.8%
  • JavaScript 2.0%