1
0
mirror of https://github.com/actix/examples synced 2024-12-04 18:51:55 +01:00

Update README.md

Update .env var syntax to use underscores instead of dots, which cause an error difficult to debug if you are not familiar with Confik.
This commit is contained in:
Full-Stack Alex 2024-07-28 21:22:23 +02:00 committed by GitHub
parent da23b0c9e5
commit 4dae76da27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,12 +60,12 @@ On many Linux distributions you may prefix the shell commands with `sudo -u post
```ini ```ini
SERVER_ADDR=127.0.0.1:8080 SERVER_ADDR=127.0.0.1:8080
PG.USER=test_user PG__USER=test_user
PG.PASSWORD=testing PG__PASSWORD=testing
PG.HOST=127.0.0.1 PG__HOST=127.0.0.1
PG.PORT=5432 PG__PORT=5432
PG.DBNAME=testing_db PG__DBNAME=testing_db
PG.POOL.MAX_SIZE=16 PG__POOL_MAX_SIZE=16
``` ```
6. Run the server: 6. Run the server: