summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Mercier <tylermercier@gmail.com>2013-07-22 19:18:14 -0600
committerTyler Mercier <tylermercier@gmail.com>2013-07-22 19:18:14 -0600
commit7e5f636c169c2e5d1d94eada0e25e06586617c21 (patch)
treee63851d14eb2ef1d6d5f36757896ff1ddf237784
parent142e22292a966aaa61ee5d474674aa1d03e67bef (diff)
add ssh key to readme. downgrade cap rvm gem
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock4
-rw-r--r--README.md4
-rw-r--r--config/deploy.rb4
4 files changed, 11 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 0b62624..90823a4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -36,7 +36,7 @@ end
group :development do
gem 'capistrano'
- gem 'rvm-capistrano'
+ gem 'rvm-capistrano', '1.4.0'
end
group :development, :test do
diff --git a/Gemfile.lock b/Gemfile.lock
index d093fa3..3664f34 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -154,7 +154,7 @@ GEM
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rubyzip (0.9.9)
- rvm-capistrano (1.4.1)
+ rvm-capistrano (1.4.0)
capistrano (>= 2.0.0)
sass (3.2.9)
sass-rails (4.0.0)
@@ -225,7 +225,7 @@ DEPENDENCIES
rails (= 4.0.0)
rspec-fakes
rspec-rails
- rvm-capistrano
+ rvm-capistrano (= 1.4.0)
sass-rails (~> 4.0.0)
sdoc
selenium-webdriver
diff --git a/README.md b/README.md
index 994cad3..36b9f95 100644
--- a/README.md
+++ b/README.md
@@ -40,3 +40,7 @@ Start server
Start background job
foreman start
+
+Setup server ssh key
+
+ cat ~/.ssh/id_rsa.pub | ssh demo@198.199.101.128 'cat >> ~/.ssh/authorized_keys'
diff --git a/config/deploy.rb b/config/deploy.rb
index ed23be5..e974243 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -34,6 +34,10 @@ ssh_options[:forward_agent] = true # no deploy key for github
after "deploy", "deploy:cleanup" # keep only the last 5 releases
+task :tacocat do
+ run 'echo $PATH'
+end
+
# Instructions
##############
# ssh root@198.199.101.128