This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
candidosg@candidosg-XPS-L421X:~/midiaexterna$ cap deploy:check | |
* 2013-02-06 16:02:29 executing `deploy:check' | |
* executing "test -d /home/ubuntu/midiaexterna/releases" | |
servers: ["177.71.250.61"] | |
connection failed for: 177.71.250.61 (Net::SSH::AuthenticationFailed: ubuntu) | |
candidosg@candidosg-XPS-L421X:~/midiaexterna$ cd | |
candidosg@candidosg-XPS-L421X:~$ ssh -v -A ubuntu@177.71.250.61 | |
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: /etc/ssh/ssh_config line 22: Applying options for * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================== | |
# SET's | |
# ============================================================== | |
set :domain, "177.71.250.61" | |
set :application, "midiaexterna" | |
set :repository, "git@github.com:candidosales/midiaexterna.git" | |
default_run_options[:pty] = true | |
ssh_options[:verbose] = :debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Atualizar Ubuntu | |
$ sudo apt-get update | |
$ sudo apt-get upgrade | |
$ sudo apt-get dist-upgrade | |
$ sudo apt-get autoremove | |
$ sudo reboot | |
## Instalar alguns pacotes extras | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================== | |
# SET's | |
# ============================================================== | |
default_run_options[:pty] = true | |
ssh_options[:forward_agent] = true | |
set :domain, "177.71.250.61" | |
set :application, "midiaexterna" | |
set :repository, "git@github.com:candidosales/#{application}.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails_env = ENV['RAILS_ENV'] || 'development' | |
threads 4,4 | |
bind "unix:///home/ubuntu/midiaexterna/current/tmp/puma.sock" | |
pidfile "/home/ubuntu/midiaexterna/current/tmp/puma/pid" | |
state_path "/home/ubuntu/current/midiaexterna/tmp/puma/state" | |
activate_control_app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream midiaexterna { | |
server unix:///home/ubuntu/midiaexterna/current/tmp/puma.sock; | |
} | |
server { | |
listen 80; | |
server_name 177.71.250.61; | |
keepalive_timeout 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: puma | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/ubuntu/midiaexterna/current/,ubuntu,/home/ubuntu/midiaexterna/current/config/puma.rb,/home/ubuntu/midiaexterna/current/config/log/puma.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// Version: v1.0.0-rc.1-188-gb6bb967 | |
// Last commit: b6bb967 (2013-03-16 18:09:42 -0700) | |
(function() { | |
/*global __fail__*/ | |
/** | |
Ember Debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
window.DS = Ember.Namespace.create({ | |
// this one goes past 11 | |
CURRENT_API_REVISION: 12 | |
}); | |
})(); | |
OlderNewer