Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- acad06a2:~ DanTwo$ cd code/2011
- acad06a2:2011 DanTwo$ cd 2010
- acad06a2:2010 DanTwo$ ls
- 77inquest medaltable primarytables walks
- acad06a2:2010 DanTwo$ cd medaltable/
- acad06a2:medaltable DanTwo$ ls
- Capfile Gemfile.lock application.rb config.ru lib tmp
- Gemfile Rakefile config data public views
- acad06a2:medaltable DanTwo$ mate .
- acad06a2:medaltable DanTwo$ rackup
- [2011-10-04 09:01:11] INFO WEBrick 1.3.1
- [2011-10-04 09:01:11] INFO ruby 1.8.7 (2011-02-18) [i686-darwin11.1.0]
- [2011-10-04 09:01:11] INFO WEBrick::HTTPServer#start: pid=3273 port=9292
- Fragment for 'tto_top' is 1321 minutes old.
- Fragment written for 'tto_top'
- Fragment for 'tto_start' is 1321 minutes old.
- Fragment written for 'tto_start'
- Fragment for 'tto_masthead' is 1321 minutes old.
- Fragment written for 'tto_masthead'
- Fragment for 'tto_footer' is 1321 minutes old.
- Fragment written for 'tto_footer'
- Fragment for 'tto_end' is 1321 minutes old.
- Fragment written for 'tto_end'
- Fragment for 'tto_bottom' is 1321 minutes old.
- Fragment written for 'tto_bottom'
- Fragment for 'tto_ads' is 1321 minutes old.
- Fragment written for 'tto_ads'
- 127.0.0.1 - - [04/Oct/2011 09:01:22] "GET / HTTP/1.1" 200 95675 2.7301
- 127.0.0.1 - - [04/Oct/2011 09:01:22] "GET /images/colombia.png HTTP/1.1" 200 167 0.1812
- 127.0.0.1 - - [04/Oct/2011 09:01:22] "GET /images/grenada.png HTTP/1.1" 200 1690 0.0025
- 127.0.0.1 - - [04/Oct/2011 09:01:22] "GET /images/nigeria.png HTTP/1.1" 200 166 0.0019
- ^C[2011-10-04 09:01:36] INFO going to shutdown ...
- [2011-10-04 09:01:36] INFO WEBrick::HTTPServer#start done.
- acad06a2:medaltable DanTwo$ git add .
- acad06a2:medaltable DanTwo$ git commit -m "nigeria grenada flags"
- [master fa0f038] nigeria grenada flags
- 3 files changed, 1 insertions(+), 1 deletions(-)
- create mode 100644 public/images/grenada.png
- create mode 100644 public/images/nigeria.png
- acad06a2:medaltable DanTwo$ git push
- Counting objects: 13, done.
- Delta compression using up to 4 threads.
- Compressing objects: 100% (8/8), done.
- Writing objects: 100% (8/8), 2.40 KiB, done.
- Total 8 (delta 4), reused 0 (delta 0)
- To [email protected]:/home/web/git/medaltable.git
- 18dd5c9..fa0f038 master -> master
- acad06a2:medaltable DanTwo$ cap deploy
- triggering start callbacks for `deploy'
- * executing `ensure_stage'
- Please specify a stage in your task like: 'cap production deploy'
- acad06a2:medaltable DanTwo$ cap production deploy
- * executing `production'
- triggering start callbacks for `deploy'
- * executing `ensure_stage'
- * executing `deploy'
- * executing `deploy:update'
- ** transaction: start
- * executing `deploy:update_code'
- updating the cached checkout on all servers
- executing locally: "git ls-remote ssh://[email protected]/home/web/git/medaltable.git HEAD"
- command finished in 396ms
- * executing "if [ -d /u02/var/apps/medaltable/shared/cached-copy ]; then cd /u02/var/apps/medaltable/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard fa0f0381768cc814a654941975972703059d83e5 && git clean -q -d -x -f; else git clone -q ssh://[email protected]/home/web/git/medaltable.git /u02/var/apps/medaltable/shared/cached-copy && cd /u02/var/apps/medaltable/shared/cached-copy && git checkout -q -b deploy fa0f0381768cc814a654941975972703059d83e5; fi"
- servers: ["localhost"]
- * establishing connection to gateway `"[email protected]"'
- * Creating gateway using [email protected]
- * establishing connection to `localhost:20022' via gateway
- [localhost:20022] executing command
- ** [localhost :: out] remote: Counting objects: 13, done.
- ** [localhost :: out] remote: Compressing objects: 12% (1/8)
- ** [localhost :: out] remote: Compressing objects: 25% (2/8)
- ** [localhost :: out] remote: Compressing objects: 37% (3/8)
- ** [localhost :: out] remote: Compressing objects: 50% (4/8)
- ** [localhost :: out] remote: Compressing objects: 62% (5/8)
- ** [localhost :: out] remote: Compressing objects: 75% (6/8)
- ** [localhost :: out] remote: Compressing objects: 87% (7/8)
- ** [localhost :: out] remote: Compressing objects: 100% (8/8)
- ** [localhost :: out] remote: Compressing objects: 100% (8/8), done.
- ** [localhost :: out] remote: Total 8 (delta 4), reused 0 (delta 0)
- ** [localhost :: out] From ssh://[email protected]/home/web/git/medaltable
- ** 18dd5c9..fa0f038 master -> origin/master
- command finished in 1970ms
- copying the cached version to /u02/var/apps/medaltable/releases/20111004081029
- * executing "cp -RPp /u02/var/apps/medaltable/shared/cached-copy /u02/var/apps/medaltable/releases/20111004081029 && (echo fa0f0381768cc814a654941975972703059d83e5 > /u02/var/apps/medaltable/releases/20111004081029/REVISION)"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 2543ms
- * executing `deploy:finalize_update'
- * executing "chmod -R g+w /u02/var/apps/medaltable/releases/20111004081029"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 111ms
- * executing "rm -rf /u02/var/apps/medaltable/releases/20111004081029/log /u02/var/apps/medaltable/releases/20111004081029/public/system /u02/var/apps/medaltable/releases/20111004081029/tmp/pids &&\\\n mkdir -p /u02/var/apps/medaltable/releases/20111004081029/public &&\\\n mkdir -p /u02/var/apps/medaltable/releases/20111004081029/tmp &&\\\n ln -s /u02/var/apps/medaltable/shared/log /u02/var/apps/medaltable/releases/20111004081029/log &&\\\n ln -s /u02/var/apps/medaltable/shared/system /u02/var/apps/medaltable/releases/20111004081029/public/system &&\\\n ln -s /u02/var/apps/medaltable/shared/pids /u02/var/apps/medaltable/releases/20111004081029/tmp/pids"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 121ms
- * executing "find /u02/var/apps/medaltable/releases/20111004081029/public/images /u02/var/apps/medaltable/releases/20111004081029/public/stylesheets /u02/var/apps/medaltable/releases/20111004081029/public/javascripts -exec touch -t 201110040810.32 {} ';'; true"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 495ms
- triggering after callbacks for `deploy:finalize_update'
- * executing `bundle:install'
- * executing "ls -x /u02/var/apps/medaltable/releases"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 122ms
- * executing "cd /u02/var/apps/medaltable/releases/20111004081029 && bundle install --gemfile /u02/var/apps/medaltable/releases/20111004081029/Gemfile --path /u02/var/apps/medaltable/shared/bundle --deployment --quiet --without development test"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 1339ms
- * executing `deploy:symlink'
- * executing "rm -f /u02/var/apps/medaltable/current && ln -s /u02/var/apps/medaltable/releases/20111004081029 /u02/var/apps/medaltable/current"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 123ms
- triggering after callbacks for `deploy:symlink'
- * executing `deploy:create_tmp_folders'
- * executing "mkdir -p /u02/var/apps/medaltable/current/tmp/cache"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 107ms
- ** transaction: commit
- * executing `deploy:restart'
- * executing "touch /u02/var/apps/medaltable/current/tmp/restart.txt"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 111ms
- triggering after callbacks for `deploy'
- * executing `deploy:htaccess'
- * executing "cp /u02/var/apps/medaltable/current/config/deployment/.htaccess.production /u02/var/apps/medaltable/current/public/.htaccess"
- servers: ["localhost"]
- [localhost:20022] executing command
- command finished in 109ms
- acad06a2:medaltable DanTwo$
Add Comment
Please, Sign In to add comment