This is the source of http://angular-rails.com. To build it, you'll need to do a few things:
bundle install
orgem install bookingit
to install the bookingit gemgit clone https://github.com/davetron5000/receta git_repos/receta
to clone the repository containing the source code examples in the bookcreateuser -d receta
to create a new PostgreSQL user as required by receta/config/database.ymlpushd git_repos/receta; bundle install; for remote in `git branch -r | grep -v "master" | grep -v "HEAD" | awk -F "/" '{print $2}'`; do git checkout $remote; done; git checkout master; popd
to set up the sub-repository and install all gems that are required for thereceta
projectbookingit build
to generate the HTML and CSS for the book
Once this is done, open book/index.html
in your browser. Whenever you change something, re-run bookingit build
.
bookingit
uses git tags and such to generate the source and diffs in the book. This allows me to know that everything is working and control what's
being displayed. Unfortunately, if something needs to change, this breaks all the tags and SHA-1s. I haven't sorted out a good way to fix this yet.