1.2 KiB
1.2 KiB
DB Documentation Generator for BTCPay Server
This tool allows you to generate interactive documentation for BTCPay Server's database by using SchemaSpy.
Requirements
- A running database to analyse (settings are in
schemaspy.properties) - Docker
How to generate?
- Start a local development setup of BTCPay Server (typically
docker-compose up dev) - Run the shell script
generate.sh - The output will be generated in
/output
How to view?
- Navigate to
/output/index.htmlwith your browser.
Notes
- This script generates output with SVG images. If you prefer PNG, you can change
schemaspy.propertiesto do so. - A full DB drawing is available at
/output/diagrams/summary/relationships.real.large.svg
Screenshots
Some screenshots of the output you'll get.






