Using Arch Linux computer as a server for Rack Apps
- by wxl
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:
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.)
Run a Rack server application to serve up this app, one that can be restarted on demand.
Run a MongoDB server
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".