From 3fa8679cf11fab1a25e9cd970915e6b0b549a154 Mon Sep 17 00:00:00 2001 From: Steven Wilkin Date: Sat, 19 Feb 2011 23:58:11 +0000 Subject: [PATCH] add first cut of README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..492b3be --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# ip.stevenwilkin.com + +Minimal Rack app to display your external IP address in the style of [whatismyip.com](http://whatismyip.com) + +## Running + +Run the app on localhost port 3000 with the following: + + rackup ./config.ru -p 3000 + +Browse to [http://0.0.0.0:3000](http://0.0.0.0:3000) + +## Sample Apache VirtualHost config for mod_rails + +To host the app using Apache and Phusion Passenger use something like: + + + ServerName ip.stevenwilkin.com + DocumentRoot /var/www/ip.stevenwilkin.com/public + + +Where the contents of the repo have been deployed to `/var/www/ip.stevenwilkin.com`