Skip to content

Commit 6233971

Browse files
committed
chore: partially revert previous changes as notes doesn't work inside <details>
Correction for ea65af9 commit. [skip ci]
1 parent ea65af9 commit 6233971

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,20 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
6868
| Golang | <pre>$ export DB_NAME=my-db DB_USER=my-user DB_PASSWORD=my-password<br/>$ go run *.go</pre>or<pre>$ go build -o app<br/>$ ./app</pre> |
6969
| Python | <pre>$ pip install -r requirements.txt<br/>$ export DB_NAME=my-db DB_USER=my-user DB_PASSWORD=my-password<br/>$ uvicorn app:app --port 3000</pre> |
7070

71-
> [!TIP]
72-
> While the example used `export` for setting up the environment variables, we don't recommend export variables that way! This was provided as an example to illustrate that an application follows [The Twelve Factors](https://12factor.net/config) and can be configured by passing environment variables. In real life, you will use docker, docker-compose, Kubernetes or other ways to run an app with required environment variables.
71+
---
72+
:bulb: **NOTE**
7373

74-
> [!NOTE]
75-
> An app also supports other environment variables:
76-
>
77-
> * `PORT`: a port to listen (defaults to `3000`)
78-
> * `DB_HOST` a database host (defaults to `localhost`)
74+
While the example used `export` for setting up the environment variables, we don't recommend export variables that way! This was provided as an example to illustrate that an application follows [The Twelve Factors](https://12factor.net/config) and can be configured by passing environment variables. In real life, you will use docker, docker-compose, Kubernetes or other ways to run an app with required environment variables.
75+
76+
---
77+
:bulb: **NOTE**
78+
79+
An app also supports other environment variables:
80+
81+
* `PORT`: a port to listen (defaults to `3000`)
82+
* `DB_HOST` a database host (defaults to `localhost`)
83+
84+
---
7985
</details>
8086

8187
1. Test that it works

0 commit comments

Comments
 (0)