Docker Repo https://hub.docker.com/r/tmtxt/genealogy/
Setup
$ cd server
$ yarn install
Run dev server
$ cd server
$ yarn dev-server
Setup
$ cd client
$ yarn install
Run dev server
$ cd client
$ yarn start
Use the build.sh
script and push.sh
script to build and push the docker image
$ ./build.sh $VERSION
$ ./push.sh $VERSION
Run docker image neo4j:3.4.7
Run docker image rethinkdb:2.3.6
Run docker image tmtxt/genealogy:latest
with these settings
- Environment variables
- App settings
BACKEND_PORT
: web server portENSURE_DATA_ENABLED
: whether to ensure data the app, required for first timeLOG_LEVEL
: default toinfo
NEO4J_SERVER
: neo4j server addressNEO4J_PORT
: neo4j bolt portNEO4J_USER
: default toneo4j
NEO4J_PASSWORD
: empty if no authenticationSECRET_KEY
: cookie signed keyENCRYPT_KEY
: key for encrypting admin passwordRETHINKDB_HOST
RETHINKDB_PORT
RETHINKDB_DB
- Frontend settings
PAGE_TITLE
PAGE_HEADLINE
CAROUSEL_IMAGE1
: image urlCAROUSEL_HEADER1
CAROUSEL_IMAGE2
: image urlCAROUSEL_HEADER2
CAROUSEL_IMAGE3
: image urlCAROUSEL_HEADER3
CAROUSEL_IMAGE4
: image urlCAROUSEL_HEADER4
CAROUSEL_IMAGE5
: image urlCAROUSEL_HEADER5
- App settings
- Volumes
/usr/src/app/pictures
: used to store upload pictures
Sample https://github.com/tmtxt/truongtx-ansible/blob/master/genealogy.yml