From 0272b44d7e9bb90e1c088af8358403961b5ba0af Mon Sep 17 00:00:00 2001 From: Thomas Payet Date: Wed, 11 Dec 2019 17:24:22 +0100 Subject: [PATCH] Add heroku one-click deploy --- Procfile | 1 + README.md | 4 ++++ app.json | 16 ++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 Procfile create mode 100644 app.json diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..8bad52d40 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: ./target/release/meilisearch --http-addr=0.0.0.0:$PORT diff --git a/README.md b/README.md index 16a87afaa..45122a01b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/app.json b/app.json new file mode 100644 index 000000000..11d6c1a6b --- /dev/null +++ b/app.json @@ -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" + } + ] +}