I recently developed a detailed set of notes to create a Linux box from
scratch and the install + configure Ruby, ROR, MySQL, CVS (with SSH),
Apache w/ fastcgi so that it serves up a simple rails app.
To give something back to the group, I could clean it up and share if
it'd be useful.
There's weaknesses: virtual host configuration in Apache. I confess I
don't know what I'm doing. I wanted to configure Apache so that I could
develop several ROR apps for several clients using virtual hosts but no
dice. Perhaps people could submit tips and I can include those.
There's four areas I haven't gotten around to working on. If you can
submit some tips I'd be happy to round out my doc with them:
1. SSL connections from browser to Apache. To make a ROR app work wth
SSL I think it's just a matter of configuring Apache. Yes/No? I don't
2. SSL connection from ROR to MySQL. There's documentation on this.
I've never gotten a CA certificate and actually did it.
3. Virtual Hosting as I say above.
4. I got Apache to serve ROR apps by soft linking from /var/www/html to
the public directory of the ROR app which was developed in my homedir.
Well, they requires having one's home dir wide open which is a security
risk on many fronts. I think some instructions ought to be included on
adding a task which does a sudo and installs the app properly.
There's bound to be improvements w.r.t. security.
My idea would be to provide a single source instruction set to go from
nothing to a fully working ROR development and web serving Linux box
which even allows remote CVS logins and submissions. That'd allow a
motivated techinical person to explore ROR without having to get 9 Phds
on his/her first day.
My document is in LaTeX and I could provide .tex, .dvi, .ps, .pdf and
even html versions of it. It's version controlled to.
A second round could include all the same but for Microsoft IIS +