generator-angular-rails editorconfig travis-ci grunt npm

Yeoman generator for AngularJS + Rails

3 years after

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

Related Repositories

awesome-angular

awesome-angular

:page_facing_up: A curated list of awesome Angular 2 and Angular 4 resources by ...

awesome-angular

awesome-angular

:page_facing_up: A curated list of awesome Angular 2 and Angular 4 resources by ...

awesome-angularjs

awesome-angularjs

:cyclone: A list of awesome AngularJs services, directives, utilities and resour ...

devise_token_auth

devise_token_auth

Token based authentication for Rails JSON APIs. Designed to work with jToker and ...

bower-rails

bower-rails

Bundler-like DSL + rake tasks for Bower on Rails ...


Top Contributors

btford sindresorhus passy sheniff kevva sleeper robinboehm addyosmani mklabs samaxes vlad artoale iknite chicoxyzzy vstirbu exromany blakeblackshear danielmcormond eddiemonge the6thm0nth hsablonniere kimpettersen mpaulucci tynovsky wzr1337 torifat millette seanpdoyle Siyfion dotcypress

Releases

-   v0.2.2 zip tar
-   v0.2.1 zip tar
-   v0.2.0 zip tar
-   v0.1.5 zip tar
-   v0.1.4 zip tar
-   v0.1.3 zip tar
-   v0.1.2 zip tar
-   v0.1.1 zip tar
-   v0.1.0 zip tar