Merge pull request #401 from tpayet/feat/heroku-button

Add heroku one-click deploy
This commit is contained in:
Clément Renault
2019-12-13 16:26:31 +01:00
committed by GitHub
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 ./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 #### Compile and run it from sources
If you have the Rust toolchain already installed, you can compile from the source 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"
}
]
}