From 1d559a116a51140a4f13450fbed896b1929de5c0 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 27 Sep 2022 22:39:47 +0200 Subject: Sentry guide on readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5368ca1..b2d5bdc 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Configuration to set up before starting: 1. Create a PostgreSQL database. 2. Generate a good secret string for JWT. +3. [ Optional ] Create a Sentry project Variables with values as example: @@ -19,6 +20,7 @@ SAVE_FILE_BASE_PATH="./uploads" UPLOADS_ENDPOINT="/uploads" RUST_LOG=verden=debug,tower_http=debug ALLOWED_HOST=localhost:3000 +SENTRY_DSN=.... # Optional ``` # Deploy @@ -52,6 +54,7 @@ but, if you define the environment variabile, it will use the one you defined on dokku config:set verden-api UPLOADS_ENDPOINT=/uploads dokku config:set verden-api RUST_LOG=verden=debug,tower_http=debug dokku config:set verdena-pi ALLOWED_HOST=0.0.0.0:9090 + dokku config:set verdena-pi SENTRY_DSN=https://example@example.ingest.sentry.io/42 ``` 5. Fix ports for HTTP ``` -- cgit v1.2.3-71-g8e6c