Skip to content
GFoniX edited this page Jan 7, 2023 · 7 revisions

#Windows

Download installer

Installation

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.

Ruby

Gem Installation

  1. Ensure your Rails app is using the react_on_rails gem, version greater than 11.0.7.
  2. 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"
  3. Run bundle install.

Rails Configuration

You don't need to create an initializer if you are satisfied with the default as described in Rails Configuration

Node Package

You only need to install the Node Package if you are using the standalone node renderer, VmRenderer.

Installation

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.

Configuration

See VM Renderer JavaScript Configuration.