cookiecutter-django icon indicating copy to clipboard operation
cookiecutter-django copied to clipboard

Describe how to use a local machine for testing a production deployment

Open gamesbook opened this issue 6 years ago • 2 comments

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

gamesbook avatar Nov 20 '18 12:11 gamesbook

you could easily alter your resolve.conf to point to your local ip and port

japrogramer avatar Jan 15 '19 06:01 japrogramer

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...

kevinseelbach avatar Aug 06 '19 04:08 kevinseelbach