*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
Prepare a new site on a remote machine
| Code Block |
|---|
cd mysite
cap staging deploy:setup
cap staging drupal:site_setup_permissions
cap staging drupal:install -s db=databasename -s dbu=databaseuser -s dbpw=databasepassword \
-s d_user=Drupal_user#1 -s d_pw=Drupal_user#1_password -s d_email=Drupal_user#1_email
|
Update cul_capistrano
The cul_capistrano directory is a 'git subtree'. If the separate git repo cul_capistrano comes from has been updated you can update your copy:
| Code Block |
|---|
cd mysite
git subtree pull --prefix cul_capistrano git@git.library.cornell.edu:cul_capistrano.git master --squash -m 'merge cul_capistrano updates'
|
Undo a site deploy
| Code Block |
|---|
cd mysite cap staging deploy:rollback |
Note: this also restores the database to the state it was at before the previous deploy.
List all the capistrano commands
...