autodifesa-digitale/run.sh

27 lines
612 B
Bash
Raw Normal View History

2019-02-17 01:30:51 +01:00
#!/bin/bash
2019-02-17 02:13:37 +01:00
# Da eseguire la prima volta:
# git submodule add https://github.com/hakimel/reveal.js.git reveal.js
2019-02-17 01:30:51 +01:00
#git submodule init
2019-02-17 02:13:37 +01:00
2019-02-17 01:30:51 +01:00
git submodule update --init --recursive --remote
2019-02-17 02:13:37 +01:00
#mkdir -p reveal.js/js/ reveal.js/css/ reveal.js/images/
2019-02-17 01:30:51 +01:00
#cp js/* reveal.js/js/
#cp css/* reveal.js/css/
2019-02-17 02:13:37 +01:00
mkdir -p reveal.js/images/
2019-02-17 01:30:51 +01:00
cp images/* reveal.js/images/
2019-02-17 02:13:37 +01:00
rm -f reveal.js/index.html reveal.js/autodifesa-digitale.md
ln index.html autodifesa-digitale.md reveal.js/
2019-02-17 01:30:51 +01:00
(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