Sha256: 89f14a0288fc1969f314bd15d33946f5c08108cc3d5e317db31099f3cd1f4a62

Contents?: true

Size: 589 Bytes

Versions: 60

Compression:

Stored size: 589 Bytes

Contents

# Capistrano Deployment
Make sure ReactOnRails is working in development environment.

Add the following to development your Gemfile and bundle install.
``` ruby
group :development do
  gem 'capistrano-yarn'
end
```
Then run Bundler to ensure Capistrano is downloaded and installed.
``` sh
$ bundle install
```
Add the following in your Capfile.
``` ruby
require 'capistrano/yarn'
```
If the deployment is taking too long or getting stuck at assets:precompile stage, it probably is because of memory. Webpack consumes a lot of memory so if possible, try increasing the RAM of your server.

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
react_on_rails-12.2.0 docs/javascript/capistrano-deployment.md
react_on_rails-12.1.0 docs/javascript/capistrano-deployment.md
react_on_rails-12.0.5.beta.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.4 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.3.1 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.3.1.beta.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.3 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.3.beta.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.2 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.1 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0.pre.beta.4 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0.pre.beta.3 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0.pre.beta.2 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0.pre.beta.1 docs/additional-reading/capistrano-deployment.md
react_on_rails-12.0.0.pre.beta.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.3.0 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.2.2 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.2.1 docs/additional-reading/capistrano-deployment.md
react_on_rails-11.1.8 docs/additional-reading/capistrano-deployment.md