git-crash-course/run.sh

13 lines
285 B
Bash
Executable file

#!/bin/bash
git submodule init
git submodule update 2> /dev/null
mkdir -p reveal.js/js/
cp js/* reveal.js/js/
cp css/* reveal.js/css/
cp images/* reveal.js/images/
rm -f reveal.js/index.html
ln index.html git-crash-course.md reveal.js/ 2> /dev/null
cd reveal.js
npm install
npm start