2021-02-10 10:12:58 -05:00
|
|
|
#
|
|
|
|
# we assume you already cloned epub
|
|
|
|
#
|
2021-02-10 09:59:38 -05:00
|
|
|
quickstart:
|
2021-02-10 10:12:58 -05:00
|
|
|
# git clone https://github.com/weitblick/epub.git
|
|
|
|
# cd epub
|
2021-02-10 11:34:47 -05:00
|
|
|
mkdir -p exampleSite/themes
|
2021-02-10 11:38:14 -05:00
|
|
|
|
2021-02-10 11:34:47 -05:00
|
|
|
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
|
2021-02-10 11:38:14 -05:00
|
|
|
rm -rf exampleSite/themes/epub/.git
|
|
|
|
rm -rf exampleSite/themes/epub/exampleSite
|
|
|
|
|
2021-02-10 11:34:47 -05:00
|
|
|
cd exampleSite; hugo
|
|
|
|
cd exampleSite; bash ./deploy.sh
|
2021-02-10 11:38:14 -05:00
|
|
|
|
2021-02-10 11:34:47 -05:00
|
|
|
echo "Your example epub is generated at"
|
|
|
|
echo
|
|
|
|
echo "exampleSite/ebook.epub"
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf exexampleSite/themes
|
|
|
|
rm -rf exexampleSite/*.epub
|