Code Monkey home page Code Monkey logo

heroku-buildpack-elixir-mix-release's Introduction

A Heroku buildpack for Elixir / Phoenix Mix Releases.

Purpose

This is intended to be used after the Elixir and Phoenix buildpacks to construct a release.

It will automatically setup a default Procfile to run:

_build/prod/rel/<your app name>/bin/<your app name> start

You would use this if you are currently using both Elixir and Phoenix buildpacks and you want to use releases. If you are not using the Phoenix buildpack this could also be useful but there is a PR open to support releases in the Elixir buildpack directly that you might want to keep an eye on.

Why releases

Why you might use releases vs mix run phx.server is covered in these links:

The tldr is it avoids latency spikes caused by lazily loading the code after the app starts.

Features

  • Builds a release using mix release --overwrite
  • Sets up a default Procfile
  • Not much else!

Configuration

There's no configuration as yet. If you have need please send a PR or open an issue. I'm not going to have a lot of time for maintenance on this so make no guarantees on response times. That said please open a PR/issue if there's something you think is useful so I can gauge interest.

heroku-buildpack-elixir-mix-release's People

Contributors

chrismcg avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.