Skip to content

sheniff/generator-angular-rails

 
 

Repository files navigation

AngularJS for Rails generator

Maintainer: Sheniff

Based on generator-angular

Important note

This project is completely based on generator-angular, just in process to be adapted to generate proper distributions to be used along with rails.

Changes (regarding the original project)

  • 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 distRails folder ready to be included into the assets-pipeline
  • [WIP] Add a HAML version of views

Install

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

Usage

For more info about usage, please refer to original project here

About

Yeoman generator for AngularJS + Rails

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 55.9%
  • ApacheConf 25.6%
  • CoffeeScript 9.5%
  • HTML 8.9%
  • CSS 0.1%