File tree Expand file tree Collapse file tree 3 files changed +16
-21
lines changed Expand file tree Collapse file tree 3 files changed +16
-21
lines changed Original file line number Diff line number Diff line change 11DEBUG = True
22
3- PROJECT_NAME = " My app "
3+ PROJECT_NAME = " VALORY.API "
44VERSION = " 1.0.0"
55
6- DATABASE_URL = " postgresql+asyncpg://postgres:postgres@localhost:5432/valory"
7- DEBUG_DATABASE_URL = " sqlite+aiosqlite:///sqlite.db"
6+ DATABASE_LOGIN = " "
7+ DATABASE_PASSWORD = " "
8+ DATABASE_PORT = 5432
9+ DATABASE_NAME = " "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ uvicorn = "*"
1919[dev-packages ]
2020
2121[requires ]
22- python_version = " 3.13 "
22+ python_version = " >=3.12 "
2323
2424[scripts ]
2525dev = " fastapi dev main.py"
Original file line number Diff line number Diff line change 1111To run the backend, you will need the following dependencies installed:
1212
1313- ** Python 3.12+** : Core language for the backend.
14- - ** Package Manager** : [ ** uv** ] ( https://github.com/yaqwsx/uv ) , a lightweight dependency manager for Python projects.
15-
16- ### Install dependencies
17- Run the following command to set up your environment:
18- ``` bash
19- uv install
20- ```
21-
22- This will automatically install all required dependencies listed in ` uv.lock ` .
14+ - ** Package Manager** : [ ** Pipenv** ] ( https://pipenv.pypa.io/en/latest/ ) , a lightweight dependency manager for Python projects.
2315
2416---
2517
@@ -55,24 +47,25 @@ These dependencies are automatically installed with the `uv install` command as
5547 ```
56482 . Install dependencies:
5749 ``` bash
58- uv install
50+ pipenv install
5951 ```
6052
61533. Create a .env file to configure environment variables. Example:
6254 ` ` ` env
6355 DEBUG=True
6456
65- PROJECT_NAME=" My app"
66- VERSION=" 1.0.0"
67-
68- DATABASE_URL=" postgresql+asyncpg://postgres:postgres@localhost:5432/"
69- DEGUB_DATABASE_URL=" sqlite+aiosqlite:///sqlite.db"
57+ PROJECT_NAME=" VALORY.API"
58+ VERSION=" 1.0.0"
59+
60+ DATABASE_LOGIN=" "
61+ DATABASE_PASSWORD=" "
62+ DATABASE_PORT=5432
63+ DATABASE_NAME=" "
7064 ` ` `
7165
72664. Run the Application
7367 ` ` ` bash
74- uv sync
75- uv run main.py
68+ pipenv run dev
7669 ` ` `
7770
7871---
You can’t perform that action at this time.
0 commit comments