Skip to content

marshmalien/angular_rails_template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Rails Template

What is this?

A barebones template for generating Rails 5 applications with an Angular frontend.

The template must be run with the --skip-javascript flag and allows you to add frontend dependencies using package.json.

Requirements

  • Rails 5.0.x
  • Node

Usage

Start by cloning the template and changing into the project directory.

git clone https://github.com/jjlangholtz/angular_rails_template.git
cd angular_rails_template

For now it is probably simpler to specify an absolute path when generating a new Rails application using this template.

To generate a Rails application, pass the -m option to rails new, like this:

rails new ~/path/to/name_of_app --skip-javascript -m template.rb

As a smoketest, you should be able to see Hello, World! after running the server.

cd ~/path/to/name_of_app
bin/rails server

About

Generate Angular ready Rails apps with ease

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 93.2%
  • JavaScript 6.8%