Skip to content

Commit

Permalink
updated deploy file and change to header text
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-slater committed Sep 3, 2008
1 parent 3b01c66 commit 748f5f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div id='pagewrapper'>
<div id='header'>
<p>Learning Rails Sample Application</p>
<p>Learning Rails Sample Application sampleapp.learningrails.com</p>
</div>
<div id='navbar'>
<ul>
Expand Down
8 changes: 4 additions & 4 deletions config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
set :application, "learningrails"

set :deploy_to, "/var/www/apps/#{application}"

role :app, "sampleapp.learningrails.com"
Expand All @@ -9,10 +8,11 @@
default_run_options[:pty] = true
set :repository, "git://github.com/mzslater/learning-rails-sample-app.git"
set :scm, "git"
set :user, "deploy"
set :branch, "master"
set :deploy_via, :remote_cache
set :use_sudo, false

set :user, "deploy"
set :admin_runner, "deploy"

namespace :deploy do
desc "Restart Application"
Expand All @@ -23,4 +23,4 @@
task :start, :roles => :app do
# nothing -- need to override default cap start task when using Passenger
end
end
end

0 comments on commit 748f5f6

Please sign in to comment.