All Projects → vic → phoenix_now

vic / phoenix_now

Licence: other
Example Phoenix deployment to Zeist Now.

Programming Languages

elixir
2628 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Example Phoenix deployment on Zeit Now.

This is an example project showing how to build a phoenix app with docker and publish it on Zeit.

Usage (Adapting for your application)

Distillery

Add a dependency on your mix.exs file for distillery Setup your rel/config.exs file.

Review elixir version

Check on Dockerfile* for the correct elixir version to be used during build.

Adapt your project

  • Copy this project's docker_build task

Build the image using docker

Building the release inside docker is important if you want to include the ERTS (erlang runtime) as the binary needs to be created for the target platform.

mix docker.build

Upload to Zeit using now

now

Learn more

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].