bitwarden_rs-debian/README.md

57 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2019-03-26 18:44:01 +01:00
# Bitwarden_rs debian package helper
[Bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) is an "Unofficial Bitwarden compatible server written in Rust".
2019-03-27 10:39:12 +01:00
This repository will help you produce a debian package.
2019-03-26 18:44:01 +01:00
## TL;DR
Make sure you have the required build dependencies:
* docker
* git
* patch
* curl
2019-03-26 18:44:01 +01:00
Then:
```
git clone https://github.com/greizgh/bitwarden_rs-debian.git
cd bitwarden_rs-debian
./build.sh -r 1.17.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. You can compile for arm32v7 or amd64 architecture using the `-a` option, only the Buster (default) release of debian is supported by arm32v7.
```
./build.sh -o stretch
2019-03-26 18:44:01 +01:00
```
2019-03-26 19:00:42 +01:00
## 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.
2020-11-20 10:23:16 +01:00
## License
Bitwarden_rs-debian is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Bitwarden_rs-debian is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Foobar. If not, see <https://www.gnu.org/licenses/>.
See [COPYING](./COPYING) for the full license.
Please note this does not assume anything about [bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs)'s own license.