Changes

Jump to: navigation, search

Umlaut Deployment with Thin and Apache

650 bytes added, 16:19, 19 June 2012
no edit summary
=WARNING: This is Outdated Documentation!!!!= '''THIS IS OUTDATED DOCUMENTATION''' See new Umlaut documentation at http://github.com/team-umlaut/umlaut/wiki--------- [[Category: Umlaut]]Instead of using mongrel, NYU is using [http://code.macournoyer.com/thin/ thin]. The thin configuration is almost identical to mongreland is detailed below. The Apache configuration is exactly the same as with mongrel and is detailed at [[Umlaut_Deployment#Apache_Setup]]  First you must install the thin gem and any dependencies, including rack. We found that versions of rack later than 1.0.1 caused problems.:$ sudo gem install thin:$ sudo gem install rack --version 1.0.1 Next add these two files used to implement are detailed belowUmlaut:config/umlaut_config/deploy/thin_cluster.yml--<pre>
# Unix account to run your processes as:
user: umlaut
# Only if you want to start at web path other than base / :
#prefix: /getit # for instance. Start with slash, and don't end with one.
--</pre>:script/local/my_thin_ctl--<pre>
#!/bin/bash
thin $1 -C /apps/umlaut/config/umlaut_config/deploy/thin_cluster.yml
--</pre> Then make the my_thin_ctl executable:$ chmod 755 my_thin_ctl Finally, run: $ ./script/local/my_thin_ctl start

Navigation menu