From 6598254165a5f4ef275219d3a1eb66101f95d102 Mon Sep 17 00:00:00 2001 From: jonian Date: Fri, 30 Sep 2022 02:23:13 +0300 Subject: [PATCH] update readme --- README.md | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 4986a26..685a113 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,22 @@ # heroku-buildpack-vips -Heroku buildpack with [libvips](https://github.com/libvips/libvips) installed. A VIPS buildpack for the modern Heroku stacks. It supports the following stacks: +Heroku buildpack with [libvips](https://github.com/libvips/libvips) installed. A buildpack for the modern Heroku stacks. -- heroku-18 -- heroku-20 -- heroku-22 - -In order to use this buildpack, you must install these packages in your heroku application: - -- libglib2.0-0 -- libglib2.0-dev -- libpoppler-glib8 - -The easiest way to do this is using the heroku [apt](https://github.com/heroku/heroku-buildpack-apt) buildpack. +[![Vips](https://img.shields.io/github/v/tag/hardpixel/heroku-buildpack-vips?label=vips&logo=hack-the-box)](https://github.com/hardpixel/heroku-buildpack-vips/releases) +[![Heroku 18](https://img.shields.io/badge/stack-18-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases) +[![Heroku 20](https://img.shields.io/badge/stack-20-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases) +[![Heroku 22](https://img.shields.io/badge/stack-22-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases) +[![Build](https://github.com/hardpixel/heroku-buildpack-vips/actions/workflows/build.yml/badge.svg)](https://github.com/hardpixel/heroku-buildpack-vips/actions/workflows/build.yml) ## Usage Run the commands below to add this buildpack and apt buildpack to your app: ``` -$ heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt -$ heroku buildpacks:add --index 2 https://github.com/brandoncc/heroku-buildpack-vips -``` - -Create a new file named `Aptfile` in your project root with the following contents: - -``` -libglib2.0-0 -libglib2.0-dev -libpoppler-glib8 +$ heroku buildpacks:add --index 1 https://github.com/hardpixel/heroku-buildpack-vips ``` -Git add the files and deploy to Heroku. You can verify the result by running this command: +Deploy to Heroku and verify the result by running this command: ``` $ heroku run vips -v