Update README

This commit is contained in:
Sergio Giménez Antón 2025-02-25 07:33:46 +01:00
parent 0ba3f6fad6
commit 2a826b1b55

View file

@ -69,14 +69,10 @@ export PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages"
#### Environment Variables #### Environment Variables
Now, configure the environment variables. For this, we will expand a `.env` file. You can use the following content as an example: Now, configure the environment variables. For this, we will expand a `.env` file. For a quickstart with localhost, you can use the default values in the `.env.example` file:
```source ```bash
STATIC_ROOT=/tmp/static/ cp .env.example .env
MEDIA_ROOT=/tmp/media/
ALLOWED_HOSTS=localhost,localhost:8000,127.0.0.1,
DOMAIN=localhost
DEBUG=True
``` ```
Now, expand the environment variables: Now, expand the environment variables: