Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding new features and cleaning up the upload_system part.

  • Loading branch information...
commit 04b8e575c2eb4d32c88b814d3dfa951cc30e3b3b 1 parent ca151e3
@pyrat authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 recipes/deployment_recipiez.rb
View
11 recipes/deployment_recipiez.rb
@@ -59,11 +59,6 @@
run "touch #{current_release}/tmp/restart.txt"
end
- desc "Upload contents of local system dir"
- task :upload_system do
- puts "Uploading system directory.."
- system "rsync -vr --exclude='.DS_Store' -e \"ssh -p #{ssh_options[:port]}\" public/system #{user}@#{domain}:#{shared_path}/"
- end
desc "Restart mongrel."
task :single_mongrel_restart do
@@ -209,7 +204,7 @@
CMD
sudo "chown -R #{user}:#{user} /var/www/apps"
end
-
+
desc "Add user to www-data group"
task :www_group do
sudo "sudo usermod -a -G www-data #{user}"
@@ -235,8 +230,8 @@
RailsEnv <%= rails_env %>
<Directory <%= deploy_to %>/current/public>
- AllowOverride all # <-- relax Apache security settings
- Options -MultiViews # <-- MultiViews must be turned off
+ AllowOverride all
+ Options -MultiViews
</Directory>
</VirtualHost>
Please sign in to comment.
Something went wrong with that request. Please try again.