detailed build instructions
parent
95d0213846
commit
efdc6fb556
|
@ -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).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue