cookiecutter-django
cookiecutter-django copied to clipboard
Describe how to use a local machine for testing a production deployment
Description
Allow for rapid changes to DOMAIN_NAME (which currently appears to be hard-coded in a number of files.)
Rationale
It should be possible / straightforward to test the production deployment on a staging machine that is behind the company firewall by simply using a configuration variable (e.g. a value set in the .env file) with that machine's name or IP Address.
Use case(s) / visualization(s)
None.
References
See also #1082
you could easily alter your resolve.conf to point to your local ip and port
Production deployment as written requires SSL via letsencrypt, right? So changing resolve.conf alone isn’t an option if the machine can’t obtain certs...