Merge pull request #290 from curquiza/deploy-doc

Add information in documentation in Deploy Server part
This commit is contained in:
Clément Renault 2019-11-13 16:06:27 +01:00 committed by GitHub
commit 9a5a543311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ You will need to create your own web front display to make it pretty though.
### Deploy the Server ### Deploy the Server
If you have not installed Rust and its package manager `cargo` yet, go to [the installation page](https://www.rust-lang.org/tools/install).<br/>
You can deploy the server on your own machine, it will listen to HTTP requests on the 8080 port by default. You can deploy the server on your own machine, it will listen to HTTP requests on the 8080 port by default.
```bash ```bash
@ -50,6 +51,11 @@ rustup override set nightly
cargo run --release cargo run --release
``` ```
For more logs during the execution, run:
```bash
RUST_LOG=info cargo run --release
```
### Create an Index and Upload Some Documents ### Create an Index and Upload Some Documents
MeiliDB can serve multiple indexes, with different kinds of documents, MeiliDB can serve multiple indexes, with different kinds of documents,