This is the WorkBC Single Source of Truth (SSoT) API service.
GET
will fail with a permission errordocker-compose build && docker-compose up
ssot
database directly via postgresql://workbc:workbc@localhost/ssot
docker-compose exec -T postgres pg_dump --clean --username workbc ssot | gzip > ssot-full.sql.gz && gunzip -k -c ssot-full.sql.gz > ssot-full.sql
docker-compose exec -T postgres psql --username workbc ssot < ssot-reset.sql && gunzip -k -c ssot-full.sql.gz | docker-compose exec -T postgres psql --username workbc ssot && docker-compose kill -s SIGUSR1 ssot
Please refer to migration/README.md.
docker-compose exec -T postgres pg_dump --clean --username workbc ssot | gzip > ssot-full.sql.gz
/admin/config/development/backup_migrate/restore
then select Restore To > SSoT Database and upload the file ssot-full.sql.gz
.ssot-refresh.sql
which is included in this repo.