Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Adds details to on how to set up a secure development environment #3111

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Docs: Adds details to on how to set up a secure development environment #3111

wants to merge 6 commits into from

Conversation

Afrowave
Copy link
Contributor

Description

This PR adds details and corrects some erros that were occuring as one set out to install TLS certificates in the developer environment.

This adds the need to edit /etc/hosts.
This adds instructions on using django-sslserver for non-docker dev environments.

Checklist:

  • I've updated the documentation

Fix #2664
Fix #2840


Rebuild your ``docker`` application. ::

$ docker-compose -f local.yml up -d --build

Go to your browser and type in your URL bar ``https://my-dev-env.local``
Go to your browser and type in your URL bar ``https://my-dev-env:8800``.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does the 8800 port apply to the Docker container approach?

I think this is a typo and meant for the Django SSL Server approach.

- ./.envs/.local/.django
...
# ports:
# - 8000:8000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed these instructions and needed to keep this configuration in order to get local SSL to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

https://my-dev-env.local serving pages from both django and docs containers
3 participants