Comments (4)
I will need deploy.rb and the enviroment you deploying to .rp (ex deploy/production.rb).
You can XXX all private url/ips
from capistrano-puma.
Thanks a lot for the quick response, here's first the deploy.rb:
# config valid only for Capistrano 3.1
lock '3.2.1'
# ---------------------------------------------------------------------
server 'server', roles: %w{web app db}
set :application, 'app_name'
set :user, 'deployer'
set :repo_url, "[email protected]:asgerb/#{fetch(:application)}.git"
set :git_enable_submodules, 1
set :bundle_flags, '--verbose'
set :chruby_ruby, 'rubinius-2.2.10'
set :shared_path, '~/public_html/enbiun'
set :pty, true
set :linked_files, %w{config/secrets.yml}
set :linked_dirs, %w(public/system)
# ---------------------------------------------------------------------
set :ssh_options, { :forward_agent => true }
# ---------------------------------------------------------------------
set :normalize_asset_timestamps, false
and production.rb:
set :rails_env, "production"
set :deploy_to, "/home/#{fetch(:user)}/public_html/#{fetch(:application)}"
set :branch, "master"
from capistrano-puma.
set :linked_dirs, %w(bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system)
You will not lose the cache and you will not have to reinstall all gems between deploys
Have a nice day.
from capistrano-puma.
You're a gentleman and a scholar, thank you so much for the quick reponse :)
And a nice day to you too ;)
from capistrano-puma.
Related Issues (20)
- Service "Type" should be configurable, or the sd_notify gem should be a dependency of this gem HOT 3
- Why does Capistrano not launch my Rails app itself? Why do I need capistrano-puma gem? HOT 1
- `cap production puma:config` results in `Don't know how to build task 'puma:config'` HOT 1
- `Failed to get D-Bus connection: No such file or directory` when trying to deploy HOT 11
- Puma 6.x HOT 4
- Permission denied with puma_access.log HOT 11
- Couple of issues with 6.0.beta HOT 2
- puma:restart service not found during deploy HOT 4
- Multiple X-Forwarded-Proto headers causing issues HOT 1
- WatchdogSec causes error when using Type=simple HOT 1
- Deploying a new app to a staging server won't start/restart puma/systemd HOT 3
- support for Puma v6.0 and upwards HOT 1
- release 5.x with support for Puma v6.0 HOT 1
- v6.0.0.beta.1 breaks Nginx functionality HOT 2
- Failed with result 'watchdog'. HOT 2
- capistrano doesn't support puma:stop task HOT 1
- When 6.0 GA? HOT 1
- after gem updates deploy fails with can't find service HOT 1
- Release 6.0.0 HOT 4
- Capistrano Puma Not Starting HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-puma.