Skip to content

Files

Latest commit

be02c2b · Feb 18, 2017

History

History
This branch is 894 commits behind shakacode/react_on_rails:master.

dummy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 18, 2017
Jan 14, 2016
Feb 18, 2017
Feb 18, 2017
Sep 20, 2015
Feb 18, 2017
Aug 23, 2015
Aug 23, 2015
Jan 18, 2017
Aug 23, 2015
Mar 15, 2016
Oct 21, 2015
Jan 9, 2017
Feb 18, 2017
Jan 18, 2017
Jan 14, 2016
Feb 18, 2017
Feb 18, 2017
Feb 18, 2017
Feb 18, 2017
Feb 18, 2017
Feb 18, 2017
Sep 20, 2015
Sep 20, 2015
Feb 18, 2017
Feb 18, 2017

Using NPM for react_on_rails

  • Use 'yarn link' to hook up the spec/dummy/client/node_modules to the top level
  • Be sure to install yarn dependencies in spec/dummy/client

Setup yarn link

cd react_on_rails
yarn link
cd spec/dummy/client
yarn link react_on_rails

Run yarn if not done yet

cd react_on_rails
yarn run dummy:install 

Starting the Sample App

Hot Reloading of Rails Assets

foreman start -f Procfile.hot

Static Loading of Rails Assets

foreman start -f Procfile.static

Creating Assets for Tests

foreman start -f Procfile.spec