-
-
Notifications
You must be signed in to change notification settings - Fork 637
Installation
Justin Gordon edited this page Jun 3, 2018
·
7 revisions
Since the repository is private, you will need a GitHub OAuth token. ShakaCode will generate a Github OAuth token, referred to below as your-github-token
.
Substitute that value in the commands below.
Ask justin@shakacode.com to give you one.
- Ensure your Rails app is using the react_on_rails gem, version greater than 11.0.7.
- Add the
react_on_rails_pro
gem to your Gemfile. Substitute the appropriate tag.gem "react_on_rails_pro", git: "https://[your-github-token]:x-oauth-basic@github.com/shakacode/react_on_rails-pro.git", tag: "1.1.0"
- Run
bundle install
.
You don't need to create a initializer if you are satisfied with the default as described in Ruby Configuration
You only need to install the Node Package if you are using the standalone node renderer, VmRenderer
.
Install the vm-renderer executable, possibly globally. Substitute the branch name or tag for master
yarn global add https://<your-github-token>:x-oauth-basic@github.com/shakacode/react_on_rails_pro.git\#master
This installs a binary vm-renderer
.
For more info on demoing or buying React on Rails Pro, email justin@shakacode.com.