TODO: add the tag id (= tag.id) to the image. Make it look nice and/or tidy. The method that currently generates a tag image is TagService.generate_tag_image().
Two things to note:
adding packages:
use poetry to mange packages (read the docs... or use GPT)
rumour has it that Pillow is a decent image library for Python.
If you want to test in the container:
spin up the containers: docker-compose up --build
now, in a separate terminal:
to find the container you wanna go in, run: docker ps
with the id of the web server, run: docker exec -it {the_container_id} /bin/bash
Once in the container, to run python shell in the app, run: python mange.py shell
TODO: add the tag id (= tag.id) to the image. Make it look nice and/or tidy. The method that currently generates a tag image is TagService.generate_tag_image().
Two things to note:
docker-compose up --build
docker ps
docker exec -it {the_container_id} /bin/bash
python mange.py shell