This data model documentation is built using GitBook, supported by a set of Gulp tasks.
You will need a working install of NodeJS and NPM to get started. On macOS:
$ brew install npmClone the remote repository:
$ git clone https://github.com/hybox/models.git
$ cd modelsInstall the dependencies for this project:
$ npm install
$ gitbook installEdit, and then to preview your changes:
$ gitbook serveTo build a static version to the _book directory:
$ gulp buildTo clean out the build directory:
$ gulp cleanEnsure all your changes are committed, and then run the following:
$ gulp publishGitBook allows for publishing ebooks as part of the process, but adds a dependency on Calibre. See the GitBook documentation for more information.
On macOS:
$ brew tap Caskroom/cask
$ brew install Caskroom/cask/calibreTo build the ebooks (into the _book) directory:
$ gulp build-ebooksAutomated builds run on Travis-CI. Follow the GitBook installation instructions to get a working GitBook environment if the above doesn't work.