Usage: Heroku

Sergio Tapia edited this page Jan 28, 2017 · 2 revisions

This guide is out of date, please ignore for now.

Run it on Heroku

To run it on Heroku, you need to:

Create the Heroku application using the Elixir build pack.

$ heroku create --buildpack ""
Creating mysterious-meadow-6277... done, stack is cedar-14
Buildpack set. Next release on mysterious-meadow-6277 will use |
Git remote heroku added

Add the Phoenix static buildpack to the same Heroku project.

$ heroku buildpacks:add

Generate a secret key for the project:

$ mix phoenix.gen.secret

Add the following environment variables, including the previously generated key:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.