Using Arch Linux computer as a server for Rack Apps

Posted by wxl on Server Fault See other posts from Server Fault or by wxl
Published on 2012-04-06T20:59:18Z Indexed on 2012/04/06 23:33 UTC
Read the original article Hit count: 212

Filed under:
|
|

What would be the best way to go about using an Arch Linux computer as a Rack (as in Ruby Rack, not an actual rack server) server? Here's what I want to be able to do:

  1. Automatically deploy on a git push to the server. (I already have this worked out, on post-receive the server checks out the app to /home/git/app from /home/git/app.git.)
  2. Run a Rack server application to serve up this app, one that can be restarted on demand.
  3. Run a MongoDB server
  4. Be able to access the app by going to my-server.local/app or something similar. (It's really only going to be used on the local network, no port forwarding or outside use)

Any ideas would be greatly appreciated. I apologize if this seems too "do it for me".

© Server Fault or respective owner

Related posts about webserver

Related posts about rack