I am seriously considering adding few code samples to atrails with live demos. For this purpose I setup a new subdomain called samples.atrails.com which will run on a ruby server.

Following the Dreamhost wiki manual, my default host, I’ll proceed with RoR installation on this subdomain. My PC at home has the default webrick server running, which comes with the RoR package. I don’t know which one Dreamhost uses, but it doesn’t matter right now. It’s just a test server and performance is not a big deal here.

Alright. The subdomain is setup and running (and default category set up to samples.atrails.com/public as said in the wiki). Now we configure RoR server through the telnet account:

[server]$ rails samples.atrails.com
[server]$ cd samples.atrails.com
[server]$ chmod 755 public

Hmm. Now let’s try if it worked…and… YUP! It did! Now the only thing left to do is to create a new test database for demo purposes.

The samples subdomain will have an index of all demos, which will run as separate project components.

Piece of cake! :-)


One Response to “Setting up ror host”  

  1. 1 Phentermine prozac.

Leave a Reply



By label: