-
-
Notifications
You must be signed in to change notification settings - Fork 631
Installation
GFoniX edited this page Jan 7, 2023
·
7 revisions
#Windows
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 [email protected] 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]:[email protected]/shakacode/react_on_rails-pro.git", tag: "1.1.0"
- Run
bundle install
.
You don't need to create an initializer if you are satisfied with the default as described in Rails 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>:[email protected]/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 [email protected].