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
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 10s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user