Sample usage
Environment Variables
There are some environment variables that Robyn looks out for. e.g. ROBYN_URL
and ROBYN_PORT
.
You can have a robyn.env
file to load them automatically in your environment.
The server will check for the robyn.env
file in the root of the project. If it is able to find one, it will parse the environment variables and set your environment.
e.g. structure
--project/
--robyn.env
--index.py
...
Sample robyn.env
ROBYN_PORT=5000
ROBYN_URL=127.0.0.1
What's Changed
- fix: add proper kill process to conftest. #249 by @guilefoylegaurav in #278
- Feature add support for env variables by @Shending-Help in #286
- testing env support by @Shending-Help in #288
New Contributors
- @guilefoylegaurav made their first contribution in #278
- @Shending-Help made their first contribution in #286
Full Changelog: v0.17.5...v0.18.0