Feature #91
add support for rails webapps
0%
Description
I would like to have the ability within Amahi to support running Rails webapps. Ideally, either using Mongrel or Phusion Passenger. Phusion Passenger would be my first choice if I had to choose. ;)
History
#1 Updated by cpg almost 12 years ago
- Project changed from apps to platform
#2 Updated by cpg almost 12 years ago
- Assignee set to cpg
phusion is definitely better.
things to do, near as i can tell:
- gem install passenger
- install the apache conf file, with the caveat that it ought to point to the public/ directory
- we will have to somehow install mod_rails for apache (this may be a harder limitation perhaps, since at the moment we run the platform with fastcgi (which is a pain!)
#3 Updated by andypflueger almost 12 years ago
- File radblog.conf View added
cpg wrote:
ohusion is definitely better.
things to do, near as i can tell:
- gem install passenger
- install the apache conf file, with the caveat that it ought to point to the public/ directory
- we will have to somehow install mod_rails for apache (this may be a harder limitation perhaps, since at the moment we run the platform with fastcgi (which is a pain!)
I got my "radblog.conf" file create and app placed in /var/hda/web-apps/radblog on my system. Attached is a copy of my conf file for your review. I'm running into problems, though, where "AddHandler" isn't being allowed from the public/.htaccess file that was included with my RadiantCMS generated site.
#4 Updated by gmw almost 12 years ago
- Priority changed from Normal to Medium
#5 Updated by gmw almost 12 years ago
- Priority changed from Medium to Normal
#6 Updated by cpg over 11 years ago
- Status changed from New to Assigned
well, i started to take a look at passenger (with an eye on fedora 11, on a test box) and i am dismayed that things are at a standstill even now. and the issues are not only technical, there are licensing issues:
https://bugzilla.redhat.com/show_bug.cgi?id=470696
installing it in a script via the amahi installer appears to be pretty hard, although the redeeming feature is that perhaps this may work (as root):
yum -y install httpd-devel
gem install --no-ri --no-rdoc passenger
passenger-install-apache2-module -a
the -a is required to make it automatic, cause otherwise it's interactive (!).
however it does require g++ and all the dev tools and libraries.
alternatives¶
not sure what alternatives we have for deploying multiple apps
- fastcgi? is it any better in f11 - advantage is that we have it already in f10
- mongrel? not so sure to have to manage one independent process per server
- nginx ?
- ?
#7 Updated by cpg about 11 years ago
update - commit #07c0a210 (http://bugs.amahi.org/repositories/revision/amahi/07c0a210ba534bcf352d09fe830027b4f3106c95) adds some initial support for ror apps.
tried radiant cms blog, but we're not quire there yet ...
Also available in: Atom