The purpose of this starter app is to provide a base project for how to integrate CommonJS, React and Flux with Rails.
- Clone project and run the following command from inside the project directory
bundle install
- Install javascript dependencies and run the initial build of the JS assets
npm install
There are 2 parts to running the app.
- Start up the Rails server
rails s
- Run gulp to monitor your JS and assets
gulp
-
Install NodeJS and NPM on Jenkins server
-
Run
npm install
before runningrake deploy
on build server
-
Include react_app_cookbook on run_list for node
-
Set nodejs attributes on node's environment file to configure the NodeJS and NPM version