Changes

Jump to: navigation, search

Umlaut Deployment with Thin and Apache

167 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 mongrel and 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 to Umlaut.
''':config/umlaut_config/deploy/thin_cluster.yml'''
<pre>
# Unix account to run your processes as:
#prefix: /getit # for instance. Start with slash, and don't end with one.
</pre>
''':script/local/my_thin_ctl'''
<pre>
#!/bin/bash
Then make the my_thin_ctl executable
: $ chmod 755 my_thin_ctl
Finally, run
: $ ./script/local/my_thin_ctl start

Navigation menu