Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Improve dx (#474)

* ๐Ÿ“ improve documentation

* ๐Ÿ“ improve documentation

* ๐Ÿ“ improve documentation

* ๐Ÿ“ improve documentation

authored by

Thibault Le Ouay and committed by
GitHub
cf7d4147 5e887fcb

+40 -1
+36 -1
apps/docs/developer-guide/setup-env.mdx
··· 277 277 > like auth token invalid 278 278 279 279 3. Then download this file 280 - [ping_response\_\_v3](https://docs.openstatus.dev/dummy/ping_response__v3.csv) 280 + [ping_response\_\_v5](https://raw.githubusercontent.com/openstatusHQ/openstatus/8d5c997aacd93becff2cf24ea1d08d33274d2c20/apps/docs/dummy/ping_response__v5.csv) 281 281 282 282 4. install the tinybird-cli 283 283 ··· 368 368 LIMIT {{ Int32(limit, 100) }} 369 369 370 370 371 + ``` 372 + 373 + ### Setting up the database 374 + 375 + We have an example database that you can use to get started. You can run it with 376 + the following command: 377 + 378 + ```bash 379 + turso dev --db-file openstatus-dev.db 380 + ``` 381 + 382 + It contains some dummy data that you can use to test the application. You still 383 + need to update the `tenant_id` in table `user` with your user account from 384 + Clerk. 385 + 386 + Do the following to get your `tenant_id`: 387 + 388 + ![Sign up with clerk](/images/setup-env/clerk-step1.png) 389 + 390 + Then go in the user section: 391 + 392 + ![Sign up with clerk](/images/setup-env/clerk-step2.png) 393 + 394 + Then copy the `tenant_id`: 395 + 396 + ![Sign up with clerk](/images/setup-env/clerk-step3.png) 397 + 398 + then update the `tenant_id` in the database, for this you can use 399 + drizzle-studio: 400 + 401 + ![Drizzle studio](/images/setup-env/drizzle-studio.png) 402 + 403 + ```bash 404 + cd packages/db 405 + pnpm studio 371 406 ``` 372 407 373 408 ## Conclusion
+4
apps/docs/dummy/ping_response__v5.csv
··· 1 + latency;monitorId;pageId;region;statusCode;timestamp;url;workspaceId;cronTimestamp;metadata;message 2 + 290;openstatusPing;openstatus;kix1;200;1695573755478;https://openstatus.dev/api/ping;openstatus;1695573646204;{}; 3 + 240;openstatusPing;openstatus;gru1;200;1695573755337;https://openstatus.dev/api/ping;openstatus;1695573646204;{}; 4 + 277;openstatusPing;openstatus;hkg1;200;1695573743935;https://openstatus.dev/api/ping;openstatus;1695573646204;{};
apps/docs/images/setup-env/clerk-step1.png

This is a binary file and will not be displayed.

apps/docs/images/setup-env/clerk-step2.png

This is a binary file and will not be displayed.

apps/docs/images/setup-env/clerk-step3.png

This is a binary file and will not be displayed.

apps/docs/images/setup-env/drizzle-studio.png

This is a binary file and will not be displayed.

openstatus-dev.db

This is a binary file and will not be displayed.