angular-rails-book
angular-rails-book copied to clipboard
Micro eBook on Getting Started with Angular on Rails
Getting Started with Angular on Ruby on Rails
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 gem -
git clone https://github.com/davetron5000/receta git_repos/receta
to clone the repository containing the source code examples in the book -
createuser -d receta
to create a new PostgreSQL user as required by receta/config/database.yml -
pushd git_repos/receta && bundle install && popd
to install all gems that are required for thereceta
project -
bookingit 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
.
Changes to the source
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.