Skip to content

Commit 2ab5a34

Browse files
committed
add docs for run application without docker
1 parent 1410af5 commit 2ab5a34

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,37 @@ Dive deeper into the full project documentation here:
2828

2929
---
3030

31+
## 🐘 Run PostgreSQL Instance (via Docker)
32+
33+
Start a local PostgreSQL instance with Docker:
34+
35+
36+
```bash
37+
docker run -d \
38+
--name salvo_postgres \
39+
-e POSTGRES_USER=darix \
40+
-e POSTGRES_PASSWORD=6775212952 \
41+
-e POSTGRES_DB=salvo_postgres \
42+
-p 5432:5432 \
43+
postgres:latest
44+
```
45+
46+
## 🧠 Run Application
47+
48+
Before running the application, make sure that uv (the ultra-fast Python package and environment manager) is installed on your system 🧩
49+
50+
⚙️ Install uv (if not installed yet):
51+
52+
```bash
53+
pip install uv
54+
```
55+
56+
Once installed, you can easily run your FastAPI app with a single command 💨
57+
58+
```bash
59+
uv run main.py
60+
```
61+
3162
## 🧭 Quick Start Guide
3263

3364
Follow these simple steps to get your app running in no time ⏱️

0 commit comments

Comments
 (0)