version updates

This commit is contained in:
msramalho
2023-02-27 10:42:14 +01:00
parent 08499bc78e
commit 20680d5e52
2 changed files with 20 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
## development
## Development
http://localhost:8004
requires `src/.env`
@@ -10,4 +10,10 @@ cd /src
* `celery --app=worker.celery worker --loglevel=info --logfile=logs/celery_dev.log` celery 5
* console 3 - `pipenv shell` + `uvicorn main:app --host 0.0.0.0 --reload`
orchestration must be from the console(?)
* turn off VPNs if connection to docker is not working
## Release
Copy `.env` and `src/.env` to deployment, along with the contents of `secrets/` including `secrets/orchestration.yaml`.
If pipenv packages are updated: `pipenv lock --requirements -r > requirements.txt` (manually comment line `-i https://pypi.org/simple`) and then `docker compose down` + `docker compose up --build -d` to build images with new packages.