diff --git a/backend/README.md b/backend/README.md index cecee0008..4c57b30b9 100644 --- a/backend/README.md +++ b/backend/README.md @@ -88,32 +88,6 @@ from .views import MyView Check the client documentation for instructions for adding the view to the client. -## Install packages - -If you want to install new packages, you can do so by adding the dependencies to: -* `requirements.in/base.txt` for packages that are needed in both *development* **and** *production* -* `requirements.in/dev.txt` for packages that are only needed in *development* -* `requirements.in/prod.txt` for packages that are only needed in *production* - -Then, run the following `pip-compile` commands to generate the `requirements.txt` files: - -```bash -# Install all packages for development -docker compose run --rm server pip-compile --output-file=requirements/dev.txt requirements.in/dev.txt - -# Install all packages for production -docker compose run --rm server pip-compile --output-file=requirements/prod.txt requirements.in/prod.txt -``` - -Lastly, rebuild the server image: - -```bash -docker compose build server - -# or, if you want to run the server immediately -docker compose up server --build -d -``` - ## Troubleshooting #### Bad request