From f9cac1c1863f656cdfd9ced740d3078dd660c5ae Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Mon, 10 Mar 2025 16:27:01 +0530 Subject: [PATCH] fix(README): recommend using `.localhost` instead of `.dev` (#46422) All `.dev` domains have HSTS enforced by default and so require SSL to access. `.localhost` hosts automatically resolve without requiring edits to hosts files Signed-off-by: Akhil Narang --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 36205a87a32..847c3389671 100644 --- a/README.md +++ b/README.md @@ -114,10 +114,7 @@ To setup the repository locally follow the steps mentioned below: 2. In a separate terminal window, run the following commands: ``` # Create a new site - bench new-site erpnext.dev - - # Map your site to localhost - bench --site erpnext.dev add-to-hosts + bench new-site erpnext.localhost ``` 3. Get the ERPNext app and install it @@ -126,10 +123,10 @@ To setup the repository locally follow the steps mentioned below: bench get-app https://github.com/frappe/erpnext # Install the app - bench --site erpnext.dev install-app erpnext + bench --site erpnext.localhost install-app erpnext ``` -4. Open the URL `http://erpnext.dev:8000/app` in your browser, you should see the app running +4. Open the URL `http://erpnext.localhost:8000/app` in your browser, you should see the app running ## Learning and community