Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-24 05:30:28 +01:00
Update BUILD.md for web-vault 2.x.x
Update BUILD.md to reflect changes to the web-vault build process
Dieser Commit ist enthalten in:
Ursprung
1c57c9d8e0
Commit
c3fe92eb5d
1 geänderte Dateien mit 9 neuen und 15 gelöschten Zeilen
24
BUILD.md
24
BUILD.md
|
@ -17,28 +17,22 @@ cargo build --release
|
||||||
When run, the server is accessible in [http://localhost:80](http://localhost:80).
|
When run, the server is accessible in [http://localhost:80](http://localhost:80).
|
||||||
|
|
||||||
### Install the web-vault
|
### 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
|
||||||
Modify `web-vault/settings.Production.json` to look like this:
|
# clone the repository
|
||||||
```json
|
git clone https://github.com/bitwarden/web.git web-vault
|
||||||
{
|
cd web-vault
|
||||||
"appSettings": {
|
# switch to the latest tag
|
||||||
"apiUri": "/api",
|
git checkout "$(git tag | tail -n1)"
|
||||||
"identityUri": "/identity",
|
|
||||||
"iconsUri": "/icons",
|
|
||||||
"stripeKey": "",
|
|
||||||
"braintreeKey": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, run the following from the `web-vault` directory:
|
Then, run the following from the `web-vault` directory:
|
||||||
```sh
|
```sh
|
||||||
npm install
|
npm install
|
||||||
npx gulp dist:selfHosted
|
npm run dist:selfhost
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally copy the contents of the `web-vault/dist` folder into the `bitwarden_rs/web-vault` folder.
|
Finally copy the contents of the `web-vault/build` folder into the `bitwarden_rs/web-vault` folder.
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
The available configuration options are documented in the default `.env` file, and they can be modified by uncommenting the desired options in that file or by setting their respective environment variables. Look at the README file for the main configuration options available.
|
The available configuration options are documented in the default `.env` file, and they can be modified by uncommenting the desired options in that file or by setting their respective environment variables. Look at the README file for the main configuration options available.
|
||||||
|
|
Laden …
In neuem Issue referenzieren