Skip to content

Transform your mathematics into beautiful SVG.

Notifications You must be signed in to change notification settings

Marty42780/maths2svg

Repository files navigation

Maths2svg

GitHub Workflow Status

Graphs


Installation

Installing Python venv

  • Make sure pip is installed and up-to-date
  • Install cairo:
apt install -y libcairo2-dev

(On Windows, try WSL, or run the below commands, putting pipwin directory in %PATH%)

pip install pipwin

pipwin install cairocffi
  • Clone the repo and execute:
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Launching Flask (for development)

  • Execute:
flask --debug run

Launching Gunicorn (for production)

  • Execute:
gunicorn app:app -w 2 --threads 3 

Credits

Founders of this project : CameliaMallus and Marty42780.

2022-2023
CC BY 4.0