docs: update README to include instructions for alternative database location using DATABASE_URL
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 10s

This commit is contained in:
stephen schuresko
2025-02-17 23:12:26 -05:00
parent 3d941dfc9e
commit 074d2fc481
2 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,12 @@ To start the server, run:
python3 papi.py
```
To start with an alternative database location(postgresql)
Use the following
```bash
DATABASE_URL='postgresql+psycopg2://user:password@hostname/database_name' python3 papi.py
```
## Endpoints
### GET /posts

BIN
test3.db

Binary file not shown.