/entr

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

EntR

A markup language for ER diagrams.

Code style: black

Installation

  1. Install graphviz

    brew install graphviz

  2. Clone the Repo / Download the Repository

    git clone https://github.com/lewismazzei/entr.git

  3. Change Directory

    cd entr

  4. Create and activate virtual environment

    python3 -m venv venv

    source venv/bin/activate

  5. Install dependencies

    pip install -r requirements.txt

Usage

  1. Change directory

    cd src

  2. Run

    python entr.py <entr_document_filepath> <png|jpg>

The generated .dot and .png / .jpg files will be placed in an output/dot and output/png / output/jpg directory respectively.