autodifesa-digitale/run.sh

26 lines
612 B
Bash
Executable file

#!/bin/bash
# Da eseguire la prima volta:
# git submodule add https://github.com/hakimel/reveal.js.git reveal.js
#git submodule init
git submodule update --init --recursive --remote
#mkdir -p reveal.js/js/ reveal.js/css/ reveal.js/images/
#cp js/* reveal.js/js/
#cp css/* reveal.js/css/
mkdir -p reveal.js/images/
cp images/* reveal.js/images/
rm -f reveal.js/index.html reveal.js/autodifesa-digitale.md
ln index.html autodifesa-digitale.md reveal.js/
(firefox reveal.js/index.html) || (echo -e "\n Apri con il tuo browser preferito" `pwd`"/reveal.js/index.html")
#cd reveal.js
#npm install
#npm start