Merge pull request #365 from meilisearch/update-readme

Reorder "Deploy the server" options on the README
This commit is contained in:
Clément Renault 2019-12-04 18:37:40 +01:00 committed by GitHub
commit d664e97104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 8 deletions

View File

@ -27,18 +27,27 @@ For more [details about those features, go to our documentation](https://docs.me
### Deploy the Server
#### Run it using Docker
```bash
docker run -it -p 7700:7700 --rm getmeili/MeiliSearch
```
#### Download the binary
```bash
curl -L https://install.meilisearch.com | sh
./meilisearch
```
#### Compile and run it from sources
If you have the Rust toolchain already installed, you can compile from the source
```bash
# If you have the Rust toolchain already installed, you can compile from the source
git clone https://github.com/meilisearch/MeiliSearch.git
cd MeiliSearch
cargo run --release
# You can also use Docker
docker run -it -p 7700:7700 --rm getmeili/MeiliSearch
# You can also download the binary
curl -L https://install.meilisearch.com | sh
./meilisearch
```
### Create an Index and Upload Some Documents