Skip to content

Commit 5938ca8

Browse files
committed
add sqmodel and listen pgadmin
1 parent 03b4e65 commit 5938ca8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Template for building FastAPI Asynchronous applications with PostgreSQL
99
- Migration with Alembic
1010
- PGADMIN4 for Graphical Database Visualization
1111
- Asynchronous
12+
- Support SQLmodel
1213

1314
## Here are the steps to follow to run the program:
1415
After cloning the repository, go to it.
@@ -20,10 +21,10 @@ After cloning the repository, go to it.
2021
2122
2. RUN FRIST MIGRATION
2223
```
23-
docker compose exec app alembic revision --autogenerate -m "first migration"
24-
docker compose exec app alembic upgrade head
24+
docker compose exec app uv run alembic revision --autogenerate -m "first migration"
25+
docker compose exec app uv run alembic upgrade head
2526
```
26-
3. Please turn on the LISTEN Docs app. `0.0.0.0:8000/docs`
27+
3. Please turn on the LISTEN Docs app. `0.0.0.0:8001/docs`
2728
2829
2930
@@ -33,6 +34,8 @@ After cloning the repository, go to it.
3334
3435
3536
password: admin
37+
38+
Please turn on the LISTEN Docs app. `0.0.0.0:5050`
3639
3740
5. EXAMPLE
3841
![IMAGE](./img/img.png)

0 commit comments

Comments
 (0)