Getting Started
Core Concepts
Building Features
API Reference
Deployment
Upgrading
Migrating
Pro
Advanced Topics
Misc
Ai Agents
    Guides
    Shakacode logoShakaCodeDeveloped by

    Copyright 2020 ShakaCode

    Capistrano Deployment

    First, make sure ReactOnRails is working in the development environment.

    Add the following to your Gemfile:

    group :development do
      gem 'capistrano-yarn'
    end

    Then run Bundler to ensure Capistrano is downloaded and installed:

    bundle install

    Add the following to your Capfile:

    require 'capistrano/yarn'

    If the deployment is taking too long or getting stuck at assets:precompile stage, it is probably because of memory. Webpack consumes a lot of memory, so if possible, try increasing the RAM of your server.