React with Rails
Simple starter kit for working with React, Redux, Rails
Requirements
- 1.Ruby
- 2.NodeJS
- 3.Rails
- 4.Bundle
Installation
1. Clone or Download repository
2. Install packages
$ cd react_with_rails
$ npm install
$ bundle install
3. Start project
Steps:
- 1.
$ rails s
- 2.Go to http://localhost:3000/
4. Install Spree Commerce (Optional)
Steps:
-
- Uncomment "Spree" section in Gemfile
-
$ bundle install $ rails g spree:install --user_class=Spree::User $ rails g spree:install --user_class=Spree::User