- Installation (Ruby required)
gem install capistrano capistrano-laravel capistrano-composer capistrano-npm
- For more information and detailed usages, please refer Capistrano and Capistrano Laravel
- Download
Capfile
and move it into your Laravel project. Download file and folder insideconfig
folder and move them into Laravel'sconfig
project. - You have to change some configurations in the following files:
config/deploy.rb
The repository urlyour_repo_url
config/deploy/staging.rb
orconfig/deploy/production.rb
The deploy server informationdeploy_user@server_name_or_ip_address