Skip to content

Instantly share code, notes, and snippets.

@chadfennell
Created July 11, 2013 20:29
Show Gist options
  • Select an option

  • Save chadfennell/5978955 to your computer and use it in GitHub Desktop.

Select an option

Save chadfennell/5978955 to your computer and use it in GitHub Desktop.
dapistrano development.rb
# The Repository for the drush make file
set :repository, "git@github.com:usernamehere/yourapp_make.git"
# Establishes the source code management system is git
set :scm, :git
set :scm_verbose, true
# Add arguments to the make build process. Here we ensure that .git directories
# from each project repository are preserved (useful on your dev instance)
set :make_args, '--working-copy'
# The default branch is "master", override this setting here
# set :branch, "1.x-development"
# The root directory name (not path) of your application
set :application, "your_app_here.dev"
# A web accessible URI of your application
set :application_uri, "http://example.org"
# The absolute path of where to deploy this application (note the use of the
# :application symbol)
set :deploy_to, "/var/www/apps/#{ENV['USER']}/#{application}"
# Linux user and group settings
set :user, "#{ENV['USER']}"
set :runner_group, "deploy"
# The hostnames to deploy to.
role :web, "example.org", :primary => true
# System path location of the drush command
set :drush_command_path, "/usr/bin/drush"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment