Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cherodney@cherodney:/var/www/mateme$ cap deploy:setup
- Do you want to stage this deployment? (y/n): y
- Domain you are deploying to (IP Address or Hostname): 192.168.1.18
- Pull from current machine (192.168.1.57)? (y/n): y
- * executing `deploy:setup'
- * executing "sudo -p 'sudo password: ' mkdir -p /var/www/staging /var/www/staging/releases /var/www/staging/shared /var/www/staging/shared/system /var/www/staging/shared/log /var/www/staging/shared/pids && sudo -p 'sudo password: ' chmod g+w /var/www/staging /var/www/staging/releases /var/www/staging/shared /var/www/staging/shared/system /var/www/staging/shared/log /var/www/staging/shared/pids"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- command finished
- triggering after callbacks for `deploy:setup'
- * executing `init:config:database'
- Create database configuration? (y/n): y
- database: openmrs
- database user: openmrs
- database password:
- * executing "mkdir -p /var/www/staging/shared/config"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- command finished
- servers: ["192.168.1.18"]
- ** sftp upload #<StringIO:0xb76d67b4> -> /var/www/staging/shared/config/database.yml
- [192.168.1.18] /var/www/staging/shared/config/database.yml
- [192.168.1.18] done
- * sftp upload complete
- * executing `init:config:cron'
- Create cron jobs? (y/n): y
- * executing "mkdir -p /var/www/staging/shared/backup"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- command finished
- * executing "echo 'Current cron configuration'"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- ** [out :: 192.168.1.18] Current cron configuration
- command finished
- * executing "crontab -l; echo ---"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- *** [err :: 192.168.1.18] no crontab for deploy
- ** [out :: 192.168.1.18] ---
- command finished
- servers: ["192.168.1.18"]
- ** sftp upload #<StringIO:0xb76ba58c> -> /var/www/staging/shared/scripts/cron
- [192.168.1.18] /var/www/staging/shared/scripts/cron
- [192.168.1.18] done
- * sftp upload complete
- * executing "cat /var/www/staging/shared/scripts/cron | crontab -"
- servers: ["192.168.1.18"]
- [192.168.1.18] executing command
- command finished
- cherodney@cherodney:/var/www/mateme$
Add Comment
Please, Sign In to add comment