fixed README

This commit is contained in:
2025-07-27 17:33:06 +02:00
parent 88dc5dd323
commit f5cedbc5a0
2 changed files with 14 additions and 9 deletions

View File

@@ -6,31 +6,31 @@ This repository contains the backend code for the application. It utilizes **Fas
### Directory Structure
- The code for the Python application is located in the `src` directory.
- Package management is handled with **pipenv**, and the dependencies are listed in the `Pipfile`.
- Package management is handled with **uv**, and the dependencies are listed in the `pyproject.toml` file.
- Since the application is designed to be deployed in a container, the `Dockerfile` is provided to build the image.
### Setting Up the Development Environment
To set up your development environment using **pipenv**, follow these steps:
To set up your development environment using **uv**, follow these steps:
1. Install `pipenv` by running:
1. Make sure you find yourself in the `backend` directory:
```bash
sudo apt install pipenv
cd backend
```
2. Create and activate a virtual environment:
1. Install `uv` by running:
```bash
pipenv shell
curl -LsSf https://astral.sh/uv/install.sh | sh
```
3. Install the dependencies listed in the `Pipfile`:
3. Install the dependencies listed in `pyproject.toml` and create the virtual environment at the same time:
```bash
pipenv install
uv sync
```
4. The virtual environment will be created under:
```bash
~/.local/share/virtualenvs/...
backend/.venv/...
```
### Deployment