Commit fe463569 authored by Philipp Middendorf's avatar Philipp Middendorf
Browse files

Add “how to build” to readme

parent 61b4fe96
Pipeline #4095 passed with stage
in 2 minutes and 17 seconds
......@@ -37,7 +37,19 @@ The resulting image looks like this:
So it draws nice arrows and stuff.
** How to build
This project uses the [[][Haskell]] language and is built using the [[][Stack]] build tool. On Unix, this can be installed via:
curl -sSL | sh
And build/run is then simply
stack run < input-file.sql | dot -Tpng -o myfile.png
** Usage with SQLAlchemy
If you have all your data in [[][SQLAlchemy]] you can let SQLAlchemy output the create table statements. Here’s the code to do that:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment