|
|
RawConnect Wiki > 1.0.5.2 Mongrel
1.0.5.2 MongrelFrom $1Table of contentsNo headersTo deploy your site using mogrel, you will be required to install the ruby gem mongrel and mongrel_cluster. $ gem install mongrel $ gem install mongrel_cluster To set up your site with Mongrel you will have to complete the fallowing steps: 1- you will have to Modify your httpd.conf. Add a proxy balancer and a virtual host: To add a proxy balancer, you must give a name for the proxy balancer, specify the port Proxy balancer://your_mongrel_cluster> Note: you can define as many balance members as you want. we recommend to use 3 and Add a virtual host with the fallowing sctructure: <VirtualHost YourIpAddress> httpd.conf Ex. for mongrel_cluster and Virtual Host: mongrel_cluster:myraw_cluster Proxy balancer://myraw_cluster> <VirtualHost 192.168.1.1> After setting up the Virtual Host in httpd.conf file you must restart your apache service. you can restart your apache service writing this code from your terminal: $ service httpd restart
Note: you must modify the httpd.conf as a root user. 2-The next step is to create the mongrel_cluster.yml. To create this file you will have write this command in from your terminal : $cd /home/youruser/public_html/rawconnect This instruction will create the file config/mongrel_cluster.yml You must edit this file to look like this: --- Note: you must run the mongrel commands from the rawconnect home directory with the correspondent user, you should not run this as a root user. 3-After you have modify your httpd.conf and you create the mongrel_cluster.yml, you can run mongrel from your terminal. write this code in your terminal. $ cd /home/YourUser/public_html/rawconnect $ mongrel_rails cluster::start --clean Note: you can check the log files at logs log/mongrel*.log if you need to stop your mongrel, you can do it writing this from your terminal: $ mongrel_rails cluster::stop --clean or you can also restart your mongrel $ mongrel_rails cluster::restart --clean It is really easy to deploy your RawConnect Open Social Software using Mongrel. If you have any question about how to deploy your site, you can post it in our forums at http://www.rawconnect.com/forums .
Tags:
|
Powered by MindTouch Deki Community Edition v.8.05.2b |