Maintainer: Sheniff
Based on generator-angular
This project is completely based on generator-angular, just in process to be adapted to generate proper distributions to be used along with rails.
- Modify javascript templates
- Add an extra service type:
resource - [WIP] Modify Coffeescript templates
- [WIP] Add more options in app creation
- Add a Rails builder task for Grunt so it generates a
distRailsfolder ready to be included into the assets-pipeline - [WIP] Add a HAML version of views
Install yo, grunt and bower
npm install -g yo grunt-cli bower
Clone this project locally and call npm link (and reset the console) to be able to do yo angular-rails easily
git clone [email protected]:sheniff/generator-angular-rails.git && cd generator-angular-rails
npm link
reset
Start your project using angular-rails
mkdir my-project && cd $_
yo angular-rails --minsafe
npm install
bower install
grunt
Build your rails-ready project running
grunt build-rails
For more info about usage, please refer to original project here