From 16b544614516d744b742f67314e3157ef3adadc0 Mon Sep 17 00:00:00 2001 From: Thibault Haldenwang <36851153+Haldenwat@users.noreply.github.com> Date: Sun, 16 Dec 2018 20:33:04 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ba6d2c1..06f6541 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,16 @@ sudo sv start laravel-queue-worker php artisan queue:work ``` +## Imgur API +When drag and dropping an image onto the editor, the image is uploaded on imgur and referenced into the editor. +In order to use the API, a `client ID` is required. To get an Imgur `client ID`, it is necessary to [register to Imgur](https://imgur.com/register). The detailed steps can be found in [Imgur API reference](https://apidocs.imgur.com/#authorization-and-oauth). + +When in possession of a `client ID`, please add the following line to your `.env` file: + +``` +IMGUR_CLIENT_ID=[your_client_id] +``` + # Test ## Requirements ### Server