heroku-buildpack-nano

by velizarn

GitHub Readme.md

heroku-buildpack-nano

Heroku buildpack that installs Nano text editor

How it works

Installs Nano Ninja version from Ehryk's repository heroku-nano or if you prefer you can set a config var to download Nano from a custom location.

Nano installation ends in /app/vendor/nano directory.

Example usage

-----> Build succeeded!
-----> heroku-buildpack-nano app detected
    -> Custom nano URL is not set, start downloading from default location
    -> Downloading Nano... (https://github.com/Ehryk/heroku-nano/raw/master/heroku-nano-2.5.1/nano.tar.gz)
    -> Installing Nano...
    DONE
-----> Discovering process types

Configure from CLI

heroku buildpacks:add https://github.com/velizarn/heroku-buildpack-nano

Configure from app manifest

{
    "buildpacks": [
        {
            "url": "https://github.com/velizarn/heroku-buildpack-nano"
        }
    ]
}

Add custom download location

If you prefer to deploy your own nano archve you can set a config var to download Nano from a custom location, e.g.

heroku config:set NANO_URL_CUSTOM=https://your-custom-url.domain.tld/nano.tar.gz

Example usage

-----> Build succeeded!
-----> heroku-buildpack-nano app detected
    -> Downloading Nano... (https://mycustomurl.rackcdn.com/nano-2.5.1.tar.gz)
    -> Installing Nano...
    DONE
-----> Discovering process types

Resources

License

MIT © Velizar Nenov