Add heroku one-click deploy

This commit is contained in:
Thomas Payet 2019-12-11 17:24:22 +01:00
parent 3eccf2fd76
commit 0272b44d7e
3 changed files with 21 additions and 0 deletions

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: ./target/release/meilisearch --http-addr=0.0.0.0:$PORT

View File

@ -48,6 +48,10 @@ curl -L https://install.meilisearch.com | sh
./meilisearch
```
#### Run it on heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/meilisearch/MeiliSearch)
#### Compile and run it from sources
If you have the Rust toolchain already installed, you can compile from the source

16
app.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "MeiliSearch",
"description": "Ultra relevant, instant and typo-tolerant full-text search API",
"keywords": [
"search-engine",
"instant search",
"search API"
],
"website": "https://docs.meilisearch.com/",
"repository": "https://github.com/meilisearch/MeiliSearch",
"buildpacks": [
{
"url": "https://github.com/emk/heroku-buildpack-rust"
}
]
}