sparckles / Robyn

Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
https://robyn.tech/
BSD 2-Clause "Simplified" License
3.9k stars 198 forks source link

add docs for all the robyn env variables #796

Closed sansyrox closed 1 week ago

sansyrox commented 2 months ago

also add support for if not supported

sansyrox commented 2 weeks ago
  1. ROBYN_PORT: Specifies the port on which the Robyn server will listen. Example: ROBYN_PORT=8080
  2. ROBYN_HOST: Specifies the host address for the Robyn server. Example: ROBYN_HOST=127.0.0.1
  3. ROBYN_MAX_PAYLOAD_SIZE: Sets the maximum payload size for requests in bytes. Default value: 1000000 bytes Example: ROBYN_MAX_PAYLOAD_SIZE=1000000 These environment variables are typically set in a robyn.env file located at the root of the project. The server parses this file at startup to configure itself accordingly. For more details on the structure and usage of the robyn.env file, refer to the documentation snippet: bash {{title: 'Sample project directory'}} --project/ --robyn.env --index.py ... bash {{ title: 'Sample Robyn.env' }} ROBYN_PORT=8080 ROBYN_HOST=127.0.0.1 RANDOM_ENV=123 bash

    robyn.env

    ROBYN_MAX_PAYLOAD_SIZE=1000000