Fixed some typos

This commit is contained in:
Florian Schüller 2016-11-06 12:13:28 +01:00
parent 08544eae6b
commit a094001069
4 changed files with 11 additions and 6 deletions

View File

@ -20,7 +20,7 @@ ENV PORT 2317
ENV SETUP_PORT 2316
# Language of interface and setup
ENV LANGUAGE ${LANGUAGE}
ENV LANGUAGE de
EXPOSE ${PORT}
EXPOSE ${SETUP_PORT}

View File

@ -25,7 +25,7 @@ if you happen to have the git repository you can also execute:
## Setup
The setup will be started automatically [http://localhost:2316] if no database can be found
**Please be patient** the setup tool will be installed "on the fly" only upon the *first start* if you don't have any genealogy database.
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:
@ -45,5 +45,10 @@ docker rm docker-geneweb
## Backup
If you need to do a backup just either backup your data folder (e.g. `${HOME}/GenealogyData`)
To export the data as "*.ged" file or similar you need to start the "setup" tool (see above)
To export the data as "*.ged" file or similar you need to start the "setup" tool
```
docker exec docker-geneweb /start_setup.sh
```
and then navigate to [http://localhost:2316]

View File

@ -3,7 +3,7 @@
# no database found - we need the setup
if [ $(ls ${GENEWEBDB}/*.gwb 2>/dev/null|wc -l) -eq 0 ]; then
/start_setup.sh
/start_setup.sh &
fi
/usr/bin/gwd -lang ${LANGUAGE} -hd ${GENEWEBSHARE} -dd ${GENEWEBDOC} -bd ${GENEWEBDB} -p ${PORT}
/usr/bin/gwd -lang${LANGUAGE} -hd${GENEWEBSHARE} -dd${GENEWEBDOC} -bd${GENEWEBDB} -p${PORT}

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
pushd ${GENEWEBDB}
gwsetup -p ${SETUP_PORT} -gd ${GENEWEBSHARE} -lang ${LANGUAGE} -only /setup_ips.txt -log ${SETUP_LOGFILE} &
gwsetup -p${SETUP_PORT} -gd${GENEWEBSHARE} -lang${LANGUAGE} -log${SETUP_LOGFILE} -only/setup_ips.txt
popd