mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-16 20:50:33 +00:00
Updated Building binary (markdown)
@@ -77,11 +77,12 @@ git apply vX.Y.Z.patch
|
|||||||
- Then, build the Vault:
|
- Then, build the Vault:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm run sub:init
|
|
||||||
npm install
|
npm install
|
||||||
|
# Read the note below (we do use this for our docker builds).
|
||||||
|
# npm audit fix
|
||||||
npm run dist
|
npm run dist
|
||||||
```
|
```
|
||||||
*Note: You might be asked to run ```npm audit fix``` to fix vulnerability. This will automatically try to upgrade packages to newer version, which might not be compatible and break web-vault functionality``` Use it at your own risk, if you know what you are doing.*
|
*Note: You might be asked to run ```npm audit fix``` to fix vulnerability. This will automatically try to upgrade packages to newer version, which might not be compatible and break web-vault functionality``` Use it at your own risk, if you know what you are doing. We do use this on our own releases btw!*
|
||||||
|
|
||||||
Finally copy the contents of the `build` folder into the destination folder:
|
Finally copy the contents of the `build` folder into the destination folder:
|
||||||
- If you run with `cargo run --release`, it's `bitwarden_rs/web-vault`.
|
- If you run with `cargo run --release`, it's `bitwarden_rs/web-vault`.
|
||||||
|
|||||||
Reference in New Issue
Block a user