4904: Rename to arv-web.py to reflect a more general purpose tool.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 16 Jan 2015 19:05:33 +0000 (14:05 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Fri, 16 Jan 2015 19:05:33 +0000 (14:05 -0500)
README
arv-web.py [moved from arv-web-example.py with 100% similarity]

diff --git a/README b/README
index 733d52235267b06c35e21c90ef9fae2aa32b484e..826092d447b14b04df32da905dd13f5179b8df80 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
-Sample Arvados web service.
+Run a web service from Arvados.
 
-usage: arv-web-example.py [-h] --project PROJECT [--port PORT] --image IMAGE
+usage: arv-web.py [-h] --project PROJECT [--port PORT] --image IMAGE
 
 optional arguments:
   -h, --help         show this help message and exit
@@ -19,12 +19,10 @@ unmount the old collection, mount the new most recently modified collection,
 and restart the Docker container with the new mount.
 
 The supplied Dockerfile builds a Docker image that runs Apache with /mnt as the
-DocumentRoot.  This allows you to browse the mounted collection with Apache's
-default index page.
+DocumentRoot.  It is configured to run web applications based on Python WSGI,
+Ruby Rack, CGI, to serve static HTML, or simply browse the contents of the
+/public subdirectory of the collection using Apache's default index pages.
 
+To build the Docker image:
 
-Suggestions for extension:
-
-Configure the container to use mod_passenger (for an example,
-arvados/docker/passenger/Dockerfile) and include both your web app and your
-data in your collection.
\ No newline at end of file
+$ docker build -t arvados/arv-web .
similarity index 100%
rename from arv-web-example.py
rename to arv-web.py