Changes

Jump to: navigation, search

Umlaut Deployment with Thin and Apache

526 bytes added, 16:19, 19 June 2012
no edit summary
[[Umlaut]]Instead of using mongrel, NYU is using [http=WARNING://code.macournoyer.com/thin/ thin]. The thin configuration is almost identical to mongrel. The Apache configuration is exactly the same as with mongrel and This is detailed atOutdated 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 two files used to implement thin are 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
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