Tag-Take / tagandtake-backend

MIT License
0 stars 0 forks source link

Add 'tag_id' to tag images #29

Open danvisser opened 2 weeks ago

danvisser commented 2 weeks ago

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:

  1. 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.
  2. 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
MuayChaiLatte commented 1 week ago

Merge Request made https://github.com/Tag-Take/tagandtake-backend/pull/30