Skip to content

Commit

Permalink
README.md: Add guide to set APP_IP_MASK variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EduKav1813 committed Oct 23, 2024
1 parent a5105ab commit 301ef19
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,18 @@ poetry run python helpers/db_create.py

### Setup Environment Variables

Set the `SECRET_KEY` variable:
Set the following environment variables:

Windows: `set SECRET_KEY=example123`.
1. `SECRET_KEY`
2. `APP_IP_MASK` - A mask that filters the allowed IP's, allowing blocking
requests outside of the accepted network. For the local development purposes
this can be set to `127.0.0.1` to allow requests only from the host machine.

Linux: `export SECRET_KEY=example123`.
Example of setting environemnt variables:

- Windows: `set SECRET_KEY=example123`.

- Linux: `export SECRET_KEY=example123`.

### Launch the web server

Expand Down

0 comments on commit 301ef19

Please sign in to comment.