inspired by Teaching with open source presentation service Reveal.js
- Create a git repository (eg. on github)
- Clone it to your desktop _(via ssh)
git clone [email protected]:yourusername/newrepository.git
- change into the new directory
cd newrepository/
- add reveal.js as submodule and initialize
git submodule add https://github.com/hakimel/reveal.js revealjs
git submodule update --init --recursive
- change into the directory of the revealjs submodule and check that initialisation was successfull
cd revealjs/
git log
cd ..
(git log
should show the commit messages of the original reveal.js repository)
- commit the addition of the submdule and push it upstream
git commit -m "added reveal.js as submodule"
git push
- copy the original presentation "start-file" from the submodule to the main repository
cp revealjs/index.html .
- edit index.html - add "revealjs" at the start of all relevant paths (css, ja, lib, plugin)
- commit the addition of the presentation "start-file" and push it upstream
git commit -m "adding file for presentation/content"
git push
Thanks for your response! I just found out that instead of
npm start
, I can uselive-server
, installable vianpm
.