Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
there is no database to migrate with this thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rick committed Jun 25, 2009
1 parent d1ba305 commit c524409
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions config/deploy.rb.production
Expand Up @@ -3,20 +3,9 @@ set :deploy_to, "/home/eastcore/sites/parchmayfarmcenter/bingo"
set :repository, "git://github.com/rick/artgo.git"
set :web_command, "true" # disable dorking w/ apache

set :config_files, ['database.yml']

namespace :vlad do
set :app_command, "/etc/init.d/apache2"

desc "Copy config files from shared/config to release dir"
remote_task :copy_config_files, :roles => :app do
config_files.each do |filename|
run "cp #{shared_path}/config/#{filename} #{release_path}/config/#{filename}"
end
end

task :migrate => [ :copy_config_files ]

desc 'Restart Passenger'
remote_task :start_app, :roles => :app do
run "touch #{current_release}/tmp/restart.txt"
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/vlad.rake
Expand Up @@ -10,6 +10,6 @@ namespace :vlad do
desc "concatenate deployment commands."
task :my_deploy do
deploy_to = (ENV['to'].blank? ? 'production' : ENV['to'])
system("rake vlad:update vlad:migrate vlad:start vlad:cleanup to=#{deploy_to}")
system("rake vlad:update vlad:start vlad:cleanup to=#{deploy_to}")
end
end

0 comments on commit c524409

Please sign in to comment.