From f9732ad8460d013c2f28363655d0d1b91894dca5 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 16 Jan 2015 14:05:33 -0500 Subject: [PATCH] 4904: Rename to arv-web.py to reflect a more general purpose tool. --- README | 16 +++++++--------- arv-web-example.py => arv-web.py | 0 2 files changed, 7 insertions(+), 9 deletions(-) rename arv-web-example.py => arv-web.py (100%) 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 -- 2.30.2