Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 514 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 514 Bytes

Configuration

Secrets

Generate passwords and tokens randomly:

docker compose --file setup/docker-compose.yml build
docker compose --file setup/docker-compose.yml run --rm setup

Run

docker compose --env-file secrets/docker --env-file secrets/tokens up --build

Use the API

Import CSV data

source secrets/tokens
curl http://localhost:3000/import \
    -H "Authorization: Bearer $WRITER_TOKEN" \
    -H "Content-Type: text/csv" \
    --data-binary @- < file.csv