From 9fad541c87436ca96325a05c22e9fcc72ee90f15 Mon Sep 17 00:00:00 2001 From: Miroslav Prasil Date: Thu, 23 Aug 2018 12:08:54 +0100 Subject: [PATCH] Clone repository instead of downloading as suggested by @mqus --- BUILD.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index b8d5fa5b..27501245 100644 --- a/BUILD.md +++ b/BUILD.md @@ -17,7 +17,14 @@ cargo build --release When run, the server is accessible in [http://localhost:80](http://localhost:80). ### Install the web-vault -Download the latest official release from the [releases page](https://github.com/bitwarden/web/releases) and extract it. +Clone the git repository at [bitwarden/web](https://github.com/bitwarden/web) and checkout the latest release tag (e.g. v2.1.1): +```sh +# clone the repository +git clone https://github.com/bitwarden/web.git web-vault +cd web-vault +# switch to the latest tag +git checkout "$(git tag | tail -n1)" +``` Apply the patch file from `docker/set-vault-baseurl.patch`: ```sh