Adjust docker-compose.yml as desired and run:
docker-compose up -dSetup database by building and spawning a database container.
docker build -t holvi-db-dev ./src/dbdocker run -d --name holvi-db-dev -p 5432:5432 -v holvi-db-data-dev:/var/lib/postgresql/data -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=<db password> -e POSTGRES_DB=holvi holvi-db-devCreate a .env.local file in the root of the project and add the following variables:
HOLVI_DB_CONNECTION_STRING=postgres://admin:<db_password>@localhost:5432/holvi
HOLVI_DATA_DIR=<directory to hold app data>
HOLVI_SESSION_PASSWORD=<32 character long session password>
HOLVI_GEO_API_KEY=<reverse geocoding API key (https://www.bigdatacloud.com/packages/reverse-geocoding)>
HOLVI_ENCRYPTION_KEY=<32 character long encryption key>
yarn install
# or
npm installyarn dev
# or
npm devOpen http://localhost:3000 and start coding.