From fe78f8fd0b47537b8c3b6ea6d85385e45cde6fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Sch=C3=BCller?= Date: Sun, 6 Nov 2016 13:42:33 +0100 Subject: [PATCH] changed naming to be dockerhub compatible --- README.md | 10 +++++----- build.sh | 2 +- start.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f695e11..d4eef7b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Usually you want to keep your database so to keep your data in an *existing* dir Just run the container: ``` -docker run --env LANGUAGE=de -d --name docker-geneweb -p2316:2316 -p2317:2317 -v ${HOME}/GenealogyData:/genewebData docker-geneweb:latest +docker run --env LANGUAGE=de -d --name geneweb -p2316:2316 -p2317:2317 -v ${HOME}/GenealogyData:/genewebData schuellerf/geneweb:latest ``` and go to [http://localhost:2317](http://localhost:2317) @@ -31,15 +31,15 @@ The setup will be started automatically [http://localhost:2316](http://localhost If you start the container and you already have a database but you want more databases or do some backup you need to start the setup manually like so: ``` -docker exec docker-geneweb /start_setup.sh +docker exec geneweb /start_setup.sh ``` and then navigate to [http://localhost:2316](http://localhost:2316) ## Shutdown To shutdown the container just run ``` -docker stop docker-geneweb -docker rm docker-geneweb +docker stop geneweb +docker rm geneweb ``` ## Backup @@ -48,7 +48,7 @@ If you need to do a backup just either backup your data folder (e.g. `${HOME}/Ge To export the data as "*.ged" file or similar you need to start the "setup" tool ``` -docker exec -ti docker-geneweb /start_setup.sh +docker exec -ti geneweb /start_setup.sh ``` and then navigate to [http://localhost:2316](http://localhost:2316) diff --git a/build.sh b/build.sh index 2b06a68..7c0c8ce 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -docker build --tag docker-geneweb:latest --tag docker-geneweb:1.0 . +docker build --tag schuellerf/geneweb:latest --tag schuellerf/geneweb:1.0 . diff --git a/start.sh b/start.sh index 8c8c7d1..7224519 100755 --- a/start.sh +++ b/start.sh @@ -3,4 +3,4 @@ mkdir -p ${HOME}/GenealogyData docker rm docker-geneweb 2>/dev/null -docker run -d --name docker-geneweb -p2316:2316 -p2317:2317 -v ${HOME}/GenealogyData:/genewebData docker-geneweb:latest +docker run -d --name docker-geneweb -p2316:2316 -p2317:2317 -v ${HOME}/GenealogyData:/genewebData schuellerf/geneweb:latest