How to run a local project in live configuration¶
However, there are a few differences. The default conditions are:
Occasionally, you may wish to run the local server in a configuration closer to the live set-up.
Set some environment variables in the file .env-local
:
Gather static files to be served, using . Run:
to:
Now when you start the local server, it will behave more like the live server.