You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
For deployments we use Capistrano, which is exposed on the CLI by the cap command.
Configuring Capistrano
You'll need to set a few thing before we can do the first time server setup:
In config/deploy.rb:
Set the application name (in kebab-casing)
Set the repo_url
First time server setup
Initial server setup can be done via:
$ cap <environment> deploy:setup
This will create a few directories, install Composer and WP-CLI, and copy some files which need to be persistent between deploys (eg. files in de shared folder and an initial .env file).
Make sure your SSH key is added to your shell. Add this to your .bash_profile (or alternative) will ensure it is loaded every time: ssh-add ~/.ssh/id_rsa > /dev/null 2>&1
See also:
Prerequisites with instructions for Ruby and Bundler