Skip to content
Snippets Groups Projects
Commit f830414b authored by benjamin.gliech@etu.unistra.fr's avatar benjamin.gliech@etu.unistra.fr
Browse files

Merge branch 'main' of git.unistra.fr:bgliech/projet-cloud-virt

parents 23d6460a 256b4d3b
No related merge requests found
......@@ -45,7 +45,7 @@ export S3_BUCKET_NAME=images
poetry run app
# Run the celery worker
poetry run celery worker --app image_api.worker.app
poetry run celery --app image_api.worker.app worker
# Upload an image
curl -X POST \
......@@ -83,7 +83,7 @@ See <https://flask.palletsprojects.com/en/2.1.x/deploying/wsgi-standalone/>
### Run the worker
```sh
celery worker --app image_api.worker.app
celery --app image_api.worker.app worker
```
See <https://docs.celeryq.dev/en/stable/userguide/workers.html>
This diff is collapsed.
......@@ -5,12 +5,13 @@ version = "0.1.0"
authors = ["Quentin Gliech <gliech@unistra.fr>"]
[tool.poetry.dependencies]
python = "^3.11"
python = "^3.9"
Flask = "^3.0.2"
boto3 = "^1.34.90"
Flask-Cors = "^4.0.0"
Pillow = "^10.3.0"
celery = {extras = ["amqp", "redis"], version = "^5.4.0"}
opentelemetry-api = "^1.24.0"
opentelemetry-instrumentation-celery = "0.45b0"
opentelemetry-instrumentation-flask = "0.45b0"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment