Friday, June 25, 2010

[Rails] deploy: First Rails App to shared server

I installed

ruby: 1.8.7
rails: 2.3.8
gems: 1.3.5

on the Ubuntu with passenger 2.2.15

now i create the first demo application,

i create a folder on home "ruby"->"demo"

than i created a sites-available

udo nano /etc/apache2/sites-available/demo

<VirtualHost *:80>

ServerName mydomain.com
ServerAlias www.mydomain.com

DocumentRoot /home/ruby/demo/public

</VirtualHost>

i am looking for next step .. where to go from here and also please
help me if i am doing these steps wrong

i also run the demo project by apache2 server by

placing application in /var/www

and it works fine.

but how i move to this my shared hosting server
and run online

Thanks


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate