Run database (1st terminal):
cp .env.sample .env
docker compose upIf you need to purge database for test purposed:
docker rm postgres
Run node stuff (2nd terminal):
nvm i
yarn
yarn build
yarn start-quota-manager
yarn start-evolu-relayYou can change ports by setting the ENV variables:
QUOTA_MANAGER_PORT=1111 RELAY_PORT=2222 yarn startnvm i
yarn devManifests live in .k8s/ and use Kustomize overlays for production and development.
Each overlay deploys:
- evolu-relay -- Evolu sync relay (port 4000)
- quota-manager -- Payment/quota server (port 4001)
- postgres -- PostgreSQL StatefulSet with persistent storage
Production runs 2 replicas per service; development runs 1.
- Good API tool to play with API: https://www.usebruno.com/downloads
- We have collection for this