diff --git a/HowtoReveal.js.md b/HowtoReveal.js.md index de1d8130..88fd7ede 100644 --- a/HowtoReveal.js.md +++ b/HowtoReveal.js.md @@ -72,3 +72,19 @@ $ ~/GIT/$ git clone https://github.com/astefanutti/decktape.git $ ~/GIT/decktape$ curl -L https://github.com/astefanutti/decktape/releases/download/v1.0.0/phantomjs-linux-x86-64 -o phantomjs; chmod +x phantomjs $ ~/GIT/decktape$ ./phantomjs decktape.js file:///tmp/foo.html foo.pdf ~~~ + +Note : cette méthode ne marche plus avec les dernières version de phantomjs et/ou decktape. + +### Alternative en utilisant Docker + +Si vous avez Docker sur votre machine : + +~~~ +$ docker run -t -v ~:/home/user astefanutti/decktape slides.pdf +$ docker cp `docker ps -lq`:slides/slides.pdf . +$ docker rm `docker ps -lq` +~~~ + +### Alternative en utilisant NodeJS + +Débrouillez vous pour obtenir un nodejs et npm suffisamment récent puis suivre la procédure officielle : https://github.com/astefanutti/decktape#install (non testé).