detailed build instructions

Nils Domrose 2019-06-03 09:37:59 +02:00
parent 95d0213846
commit efdc6fb556
1 changed files with 8 additions and 0 deletions

@ -6,12 +6,20 @@
## Run/Compile ## Run/Compile
### SQlite backend
```sh ```sh
# Compile with sqlite backend and run # Compile with sqlite backend and run
cargo run --features sqlite --release cargo run --features sqlite --release
# or just compile with sqlite (binary located in target/release/bitwarden_rs) # or just compile with sqlite (binary located in target/release/bitwarden_rs)
cargo build --features sqlite --release cargo build --features sqlite --release
``` ```
### MySQL backend
```sh
# Compile with mysql backend and run
cargo run --features mysql --release
# or just compile with mysql (binary located in target/release/bitwarden_rs)
cargo build --features mysql --release
```
When run, the server is accessible in [http://localhost:8000](http://localhost:8000). When run, the server is accessible in [http://localhost:8000](http://localhost:8000).