From c2ba443b9942ed8e8903f8d25f90177c8e03f126 Mon Sep 17 00:00:00 2001 From: aphorise Date: Fri, 19 Nov 2021 22:15:37 +0100 Subject: [PATCH] README.md of website/ with WARNING on rebuilding (#13027) * README.md of website/ with WARNING on rebuilding * Update README.md --- website/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/README.md b/website/README.md index 376610fd933f..3722f8cf1c24 100644 --- a/website/README.md +++ b/website/README.md @@ -40,6 +40,11 @@ The website can be run locally through node.js or [Docker](https://www.docker.co > **Note:** If you are using a text editor that uses a "safe write" save style such as **vim** or **goland**, this can cause issues with the live reload in development. If you turn off safe write, this should solve the problem. In vim, this can be done by running `:set backupcopy=yes`. In goland, search the settings for "safe write" and turn that setting off. +| :warning: WARNING :warning: | +|:----------------------------| +| If you've previously run the website successfully using either the Docker or Node.js approach but are now facing some issue then try `docker rmi $(docker images -aq hashicorp-vault-website-local) && make build-image && make website-local` or `rm -rf node_modules`; failing that consider cloning this repository again and re-attempting the steps anew in a clean clone. | + + ### With Docker Running the site locally is simple. Provided you have Docker installed, clone this repo, run `make`, and then visit `http://localhost:3000`.