...
Set up the local directory
- Add these empty directories:
- backup
- drupal_config
- private_files
- public
- Let capistrano create it's files and directories
Code Block capify .
- (this creates Capfile and config/deploy.rb)
- featureserver_test_library_cornell_edu
- .git
- .gitignore
- README.txt
- backup/ - place for backup files
- drupal_config/ - a place for Drupal make file and module lists
- private_files/ - point Drupal's private file directory at this directory (later)
- public/ - put your Drupal site here (later)
Here's what my .gitignore looks like.
In our environment the public directory is a 'fake submodule' containing Drupal core and some standard modules:
Code Block |
---|
git clone --depth 1 git@git.library.cornell.edu:drupal_7_x.git public |
Let capistrano create its default files
...