Extract daily comics from HS (https://www.hs.fi/)
Currently supports Viivi ja Wager, Fok_It and Fingerpori from Helsingin Sanomat.
- clone repo and
cd sarjis
- create and activate virtual environment:
python3 -m venv venv; source venv/bin/activate
- install modules:
pip install -r requirements.txt
- start WSGI server:
gunicorn app:app
- test in terminal:
curl localhost:8000/quote
prerequisite: docker installed
- clone repo and
cd sarjis
- build docker image:
docker build . -t sarjis
- execute image AKA instantiate a container:
docker run -p 999:8000 sarjis
- test in terminal:
curl localhost:999/quote