2010-03-03 26 views
4

我一直在使用Deprec和Slicehost,但现在看起来开发并不是那么活跃。Deprec Deployment with Rails的替代方案?

你现在用什么来自动化Rails的大部分部署步骤?我正在使用Slicehost。

+0

如果您想对服务器上发生的事情进行最大限度的控制,Deprec确实非常棒。它应该适合我们 – Anatoly 2013-03-12 19:23:35

回答

1

尽管我仍然使用deprec做了很多事情,但Phusion Passenger已经使得安装Rails栈非常简单,我发现维护一个简单的命令列表更容易。我在Ubuntu 10.04上使用它(清晰)amd64

apt-get install build-essential git-core mysql-client apache2 apache2-prefork-dev libapr1-dev libmysqlclient15-dev librmagick-ruby libmagick9-dev libxml2-dev libxslt1-dev imagemagick libcurl4-openssl-dev libreadline-ruby1.8 

wget http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2011.02_amd64_ubuntu10.04.deb 
dpkg -i ruby-enterprise_1.8.7-2011.02_amd64_ubuntu10.04.deb 

gem install passenger bundler 
passenger-install-apache2-module --auto 

# Copy configs generated by previous command to 
# /etc/apache2/mods-available/passenger.{load,conf} 

a2enmod passenger 
a2enmod rewrite 
/etc/init.d/apache2 restart