Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 626 Bytes

File metadata and controls

36 lines (28 loc) · 626 Bytes

install weasyprint dependencies

https://weasyprint.readthedocs.io/en/latest/install.html#macos

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install python3 cairo pango gdk-pixbuf libffi 

Create venv

python3 -m venv venv
source ven/bin/activate

Clone repo

git clone git@github.com:sebastienpro/ch-ales.git
cd chales

install pip requirements

pip install -r requirements.txt

launch develop service

./main.py 

See result in browser

http://127.0.0.1:5000 or http://127.0.0.1:5000/test.pdf