Initial Commit

This commit is contained in:
Florian Schüller
2016-11-06 12:02:36 +01:00
parent 5877ae165c
commit 08544eae6b
7 changed files with 127 additions and 0 deletions

9
scripts/bootstrap.sh Executable file
View File

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

5
scripts/start_setup.sh Executable file
View File

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