No commit activity in last 3 years
No release in over 3 years
A simple React Rails generator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

React Rails generator

Gem Version

A simple gem that make combine React and Rails easier

Getting started

This gem create a Rails project combine with React (connect through API)

We can intall this gem by command

$ gem install react-rails-generator

First you need to create project with command

$ react-rails new <project_name>

After that we have to install the packages that declare in package.json

$ npm install

Usage

We have to run rails and webpack to monitor

$ rails server

and

$ webpack --watch

And view the project works

Contributing

We love pull requests. Here's a quick guide:

  1. Fork the project
  2. Comment these lines from Gem Specification
s.cert_chain  = ['certs/public_cert.pem']
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
  1. To test your change
  • git add .
  • gem build react_rails.gemspec
  • gem install react-rails-generator-version.gem
  1. Make the changes and push to your repository
  2. Make a pull request