refactored for one-repos use and updated readme

This commit is contained in:
Bachir Soussi Chiadmi
2017-04-29 16:58:38 +02:00
parent c4c954e4e8
commit d9d3bf9f43
6 changed files with 45 additions and 72 deletions
+9 -4
View File
@@ -9,10 +9,15 @@ source are in the directory book-src
bin/build.py will read the book sources and convert them to html files using pandoc (pypandoc)
### Assets
building process intergate in html files all the necessary assets (css/js) contained in the "assets" directory
## Automation
gulp is watching assets files to convert scss to css and then rebuild html pages
gulp is also runing once on launch a webserver accessible a localhost:8000 and the bin/sync script
## use
- sync : configure the git repository url of md book in bin/sync
- run gulp from terminale
- configure book's main properties in assets/css/setup.scss and assets/js/setup.js
- access to your book at localhost:8000 from a css-region-compatible webbrowser
- start to design your book with assets/css/styles.css
- it's also possible to add any dynamic javascript formatting with assets/js/script.js