Skip to content

henrrrik/capistrano-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Capistrano deployment scripts for Drupal

##Getting started

You need capistrano itself, capistrano-ext for multistage deployment and railsless-deploy for convenient overrides.

gem install capistrano capistrano-ext railsless-deploy

##Configuration

config/deploy.rb - general configuration settings

config/deploy/<stagename>.rb - stage-specific settings

It expects the following files for each stage:

sites/<site>/settings.<stage>.php
<stage>.robots.txt
<stage>.htaccess

.htaccess, settings.php and robots.txt should be in your .gitignore. That way each team member can have their own local development setup.

##Usage

Set up the deployment folders and settings file:

cap <stagename> deploy:setup

If all goes well, deploy:

cap <stagename> deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages