summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-03-29 16:19:44 -0400
committerTim Graham <timograham@gmail.com>2018-03-29 16:36:06 -0400
commit7798255d5ef69c803a66b0a7cdeeb68ac448fda6 (patch)
tree9931863bbab79cef907b63a40a64ddad3fe4c7c0 /README.rst
parentd5e7e1cc09c79382516c3322f0483bcce492304c (diff)
Switched dev TLD to localhost.
As per https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst16
1 files changed, 10 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index 3b25253d..94b65eeb 100644
--- a/README.rst
+++ b/README.rst
@@ -92,11 +92,14 @@ To run locally, do the usual:
./manage.py update_metrics
-#. Point the ``www.djangoproject.dev``, ``docs.djangoproject.dev`` and ``dashboard.djangoproject.dev``
- hostnames with your ``/etc/hosts`` file to ``localhost``/``127.0.0.1``.
- Here's how it could look like::
+#. Point the ``www.djangoproject.localhost``, ``docs.djangoproject.localhost``,
+ and ``dashboard.djangoproject.localhost`` hostnames with your ``/etc/hosts``
+ file to ``localhost``/``127.0.0.1``::
- 127.0.0.1 docs.djangoproject.dev www.djangoproject.dev dashboard.djangoproject.dev
+ 127.0.0.1 docs.djangoproject.localhost www.djangoproject.localhost dashboard.djangoproject.localhost
+
+ This is unnecessary with some browsers (e.g. Opera and Chromium/Chrome) as
+ they handle localhost subdomains automatically.
If you're on Mac OS and don't feel like editing the ``/etc/hosts`` file
manually, there is a great preference pane called `Hosts.prefpane`_. On
@@ -122,8 +125,9 @@ To run locally, do the usual:
This runs both the main site ("www") as well as the
docs and dashboard site in the same process.
- Open http://www.djangoproject.dev:8000/, http://docs.djangoproject.dev:8000/
- or http://dashboard.djangoproject.dev:8000/.
+ Open http://www.djangoproject.localhost:8000/,
+ http://docs.djangoproject.localhost:8000/,
+ or http://dashboard.djangoproject.localhost:8000/.
Running the tests
-----------------