community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r1683049 - in /comdev/tools/events_list: Dockerfile readme.md
Date Tue, 02 Jun 2015 06:25:35 GMT
Author: rgardler
Date: Tue Jun  2 06:25:34 2015
New Revision: 1683049

URL: http://svn.apache.org/r1683049
Log:
run the menu by default in the docker container and simplify the instructions as we move towards
a persistent data volume

Modified:
    comdev/tools/events_list/Dockerfile
    comdev/tools/events_list/readme.md

Modified: comdev/tools/events_list/Dockerfile
URL: http://svn.apache.org/viewvc/comdev/tools/events_list/Dockerfile?rev=1683049&r1=1683048&r2=1683049&view=diff
==============================================================================
--- comdev/tools/events_list/Dockerfile (original)
+++ comdev/tools/events_list/Dockerfile Tue Jun  2 06:25:34 2015
@@ -3,4 +3,4 @@ FROM python:2.7
 COPY . /project
 WORKDIR /project
 
-CMD ["python", "./get_meetuplist"]
\ No newline at end of file
+CMD ["python", "./menu"]
\ No newline at end of file

Modified: comdev/tools/events_list/readme.md
URL: http://svn.apache.org/viewvc/comdev/tools/events_list/readme.md?rev=1683049&r1=1683048&r2=1683049&view=diff
==============================================================================
--- comdev/tools/events_list/readme.md (original)
+++ comdev/tools/events_list/readme.md Tue Jun  2 06:25:34 2015
@@ -44,38 +44,14 @@ To build the container:
 
 To run the container:
 
-    $ docker run events
+    $ docker run -v /path/to/host/directory:/project events
 
 By default this runs a curses menu from which you can manage the events
 list.
 
-## Working with the results ##
-
-At the time of writing get_meetups script writes results to the file
-system. Since a container is immutable this means that you never
-actually get to see the results. There are two workarounds for this,
-depending on your preference. You can work in a shell in the container
-or you can mount your client directory in the container
-
-### Working in a shell ###
-
-    $ docker run -it events bash
-
-Will put you in a bash shell in the container, from there you can run:
-
-    $ python menu
-
-and view the files in the containers file system before exiting the
-container.
-
-### Mounting a host directory ###
-
-    $ docker run -v /path/to/host/directory:/project events
-
-This will run the script as normal but since you have mounted your host
-directory the files will be accessible from the host.
+FIXME: Should use a data volume for the data
 
-## Development using the Docker Container ##
+# Development using the Docker Container #
 
 Edit the files on your host machine and then:
 



Mime
View raw message