$ npm install
$ cd docker && ln -s /path/to/deploy/gekaaptebrieven/production.yml production.yml
Start the containers so Docker can create the volumes. Stop the containers once they are running. The Janus container will fail because it is missing a config file.
$ npm run start:backend
$ cp /path/to/deploy/pergamon/esconfig/elasticsearch.yml /var/lib/docker/volumes/gekaaptebrieven_es_config/_data/
$ cp /path/to/deploy/pergamon/janus/config.yml /var/lib/docker/volumes/gekaaptebrieven_janus_config/_data/
$ npm run start:backend
$ cd /path/to/gekaaptebrieven/data && sh tojanus.sh http://localhost:8080 tei/*
$ curl http://localhost:8080/documents
should give a list of document IDs
$ npm run start:backend
$ npm run start:dev