Skip to content

newyorkpizza/angular-rails-book

 
 

Repository files navigation

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:

  1. bundle install or gem install bookingit to install the bookingit gem
  2. git clone https://github.com/davetron5000/receta git_repos/receta to clone the repository containing the source code examples in the book
  3. createuser -d receta to create a new PostgreSQL user as required by receta/config/database.yml
  4. pushd 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 the receta project
  5. 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.

About

Micro eBook on Getting Started with Angular on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 71.6%
  • Ruby 28.4%