Skip to content

Instantly share code, notes, and snippets.

@meoooh
Created June 2, 2013 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meoooh/5693993 to your computer and use it in GitHub Desktop.
Save meoooh/5693993 to your computer and use it in GitHub Desktop.
meoooh@ubuntu:~$ cd myFirstRails/
meoooh@ubuntu:~/myFirstRails$ ll
total 88
drwxr-xr-x 13 meoooh meoooh 4096 Jun 2 09:14 ./
drwxr-xr-x 7 meoooh meoooh 4096 Jun 2 09:14 ../
drwxrwxr-x 8 meoooh meoooh 4096 Jun 2 09:14 app/
-rw-rw-r-- 1 meoooh meoooh 167 Jun 2 09:14 Capfile
drwxrwxr-x 5 meoooh meoooh 4096 Jun 2 09:14 config/
-rw-rw-r-- 1 meoooh meoooh 162 Jun 2 09:14 config.ru
drwxrwxr-x 2 meoooh meoooh 4096 Jun 2 09:14 db/
drwxrwxr-x 2 meoooh meoooh 4096 Jun 2 09:14 doc/
-rw-rw-r-- 1 meoooh meoooh 811 Jun 2 09:14 Gemfile
-rw-rw-r-- 1 meoooh meoooh 3011 Jun 2 09:14 Gemfile.lock
drwxrwxr-x 8 meoooh meoooh 4096 Jun 2 09:14 .git/
-rw-rw-r-- 1 meoooh meoooh 430 Jun 2 09:14 .gitignore
drwxrwxr-x 4 meoooh meoooh 4096 Jun 2 09:14 lib/
drwxrwxr-x 2 meoooh meoooh 4096 Jun 2 09:14 log/
drwxrwxr-x 2 meoooh meoooh 4096 Jun 2 09:14 public/
-rw-rw-r-- 1 meoooh meoooh 277 Jun 2 09:14 Rakefile
-rw-rw-r-- 1 meoooh meoooh 9220 Jun 2 09:14 README.rdoc
drwxrwxr-x 2 meoooh meoooh 4096 Jun 2 09:14 script/
drwxrwxr-x 7 meoooh meoooh 4096 Jun 2 09:14 test/
drwxrwxr-x 4 meoooh meoooh 4096 Jun 2 09:14 vendor/
meoooh@ubuntu:~/myFirstRails$ git status
# On branch master
nothing to commit (working directory clean)
meoooh@ubuntu:~/myFirstRails$ cap deploy:setup
* 2013-06-02 09:14:27 executing `deploy:setup'
* executing "mkdir -p /home/meoooh/myFirstRails /home/meoooh/myFirstRails/releases /home/meoooh/myFirstRails/shared /home/meoooh/myFirstRails/shared/system /home/meoooh/myFirstRails/shared/log /home/meoooh/myFirstRails/shared/pids"
servers: ["14.63.162.188"]
Password:
[14.63.162.188] executing command
command finished in 48ms
* executing "chmod g+w /home/meoooh/myFirstRails /home/meoooh/myFirstRails/releases /home/meoooh/myFirstRails/shared /home/meoooh/myFirstRails/shared/system /home/meoooh/myFirstRails/shared/log /home/meoooh/myFirstRails/shared/pids"
servers: ["14.63.162.188"]
[14.63.162.188] executing command
command finished in 38ms
triggering after callbacks for `deploy:setup'
* 2013-06-02 09:14:31 executing `deploy:setup_config'
* executing "sudo -p 'sudo password: ' ln -nfs /home/meoooh/myFirstRails/shared/cached-copy/config/nginx.conf /etc/nginx/sites-enabled/myFirstRails"
servers: ["14.63.162.188"]
[14.63.162.188] executing command
** [out :: 14.63.162.188]
command finished in 77ms
* executing "sudo -p 'sudo password: ' ln -nfs /home/meoooh/myFirstRails/current/config/unicorn_init.sh /etc/init.d/unicorn_myFirstRails"
servers: ["14.63.162.188"]
[14.63.162.188] executing command
** [out :: 14.63.162.188]
command finished in 76ms
meoooh@ubuntu:~/myFirstRails$ cap deploy
* 2013-06-02 09:14:36 executing `deploy'
triggering before callbacks for `deploy'
* 2013-06-02 09:14:36 executing `deploy:check_revision'
WARNING: HEAD is not the same as origin/master
Run `git push` to sync changes.
meoooh@ubuntu:~/myFirstRails$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment