If you're comfortable using Amazon's EC2 environment to host your site, you should check out CommunityEngine-Setup, a script we've put together that makes installing a CE app on EC2 a snap! Using CE-Setup in concert with our CommunityEngineServer ami (ami-cbc226a2), you can launch a fully functioning CE site running on a robust EC2 instance in a matter of minutes. The CE-Server ami comes with all the required CE libraries pre-installed (including rmagick). To learn more, visit the CE-Setup repository on github. |
From Alex on the mailing list:
If anyone else is going through this set up. I had to make some changes to deploy.rb (after running CE-setup)
I changed:
set :repository, "ssh://ec2url/mnt/git/appname.git"
to
set :repository, "ssh://root@ec2url/mnt/git/appname.git"
and I added the following to deploy.rb
ssh_options[:keys] = %w(path/to/myprivatekey)
set :ssh_options, {:user => 'root' }
I also copied my public key into the same folder as my private key.
Not sure if this is really necessary, but there was mention of it in google searches as something Capistrano needs.