From: Peter Amstutz Date: Fri, 16 Jan 2015 19:05:33 +0000 (-0500) Subject: 4904: Rename to arv-web.py to reflect a more general purpose tool. X-Git-Tag: 1.1.0~1814^2~17^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/f9732ad8460d013c2f28363655d0d1b91894dca5 4904: Rename to arv-web.py to reflect a more general purpose tool. --- diff --git a/README b/README index 733d522352..826092d447 100644 --- 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 . diff --git a/arv-web-example.py b/arv-web.py similarity index 100% rename from arv-web-example.py rename to arv-web.py