This repository contains the necessary JAR files to utilize SchemaSpy in creating an Entity-relationship diagram of a PostgreSQL database.
- SchemaSpy relies upon Java and (optionally) Graphviz.
- Java comes pre-installed on a Mac. One could use Brew to install a specific version.
- Installing Graphviz on a Mac:
brew install graphviz
- If you are not using PostgreSQL, you will need to download the relevant JDB Driver file for your preferred flavor of DB.
- After cloning repository, copy example file into a file called
schemaspy.properties
, and update with your preferred configuration.- Alternatively, when executing, specify the file path using the command flag
-configFile filePath
. - Complete list of SchemaSpy command line arguments
- Alternatively, when executing, specify the file path using the command flag
- Ensure that your target database is running.
- Execute
java -jar schemaspy-6.1.0.jar
within your local clone of this repository. - Open output/index.html within your preferred browser or HTML application.