Files
vaultwarden-debian/README.md
T
Masgalor 7e9b0d79bb Fetch the newest upstream version from github api (#17)
* Set the newest upstream version as default

Instead of hardcoding the default version the latest upstream release should be used.

* Add curl as dependency
2020-06-27 14:45:48 +02:00

37 lines
978 B
Markdown

# Bitwarden_rs debian package helper
[Bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) is an "Unofficial Bitwarden compatible server written in Rust".
This repository will help you produce a debian package.
## TL;DR
Make sure you have the required build dependencies:
* docker
* git
* patch
* curl
Then:
```
git clone https://github.com/greizgh/bitwarden_rs-debian.git
cd bitwarden_rs-debian
./build.sh -r 1.10.0
```
The `build.sh` script will build bitwarden_rs for the same Debian version which targets bitwarden_rs.
To compile for a different Debian version, specify the release name (e.g. Stretch, Buster) using the `-o` option.
```
./build.sh -o stretch
```
## Post installation
The packaged systemd unit is **disabled**, you need to configure bitwarden_rs through its
[EnvFile](https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines):
`/etc/bitwarden_rs/config.env`
You will also probably want to setup a reverse proxy.