Skip to content

Commit e6bd467

Browse files
committed
Add example to the README.
1 parent 73814fc commit e6bd467

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,11 @@ There are two things to implement:
7272
* The configuration parser: it simply takes the deserialized data
7373
from the file, and sets attributes to the Config object, so your
7474
module can access it later.
75+
76+
This way, the path to the config file can be passed to your module
77+
by invoking gunicorn this way:
78+
79+
```
80+
export PPP_MYMODULE_CONFIG="/path/to/config/file.json"
81+
gunicorn my_module:app
82+
```

0 commit comments

Comments
 (0)