vic/phoenix_now
Example Phoenix deployment to Zeist Now.
{ "defaultBranch": "master", "description": "Example Phoenix deployment to Zeist Now.", "fullName": "vic/phoenix_now", "homepage": "", "language": "Elixir", "name": "phoenix_now", "pushedAt": "2016-09-26T03:05:23Z", "stargazersCount": 14, "updatedAt": "2023-09-01T10:51:24Z", "url": "https://github.com/vic/phoenix_now"}Example Phoenix deployment on Zeit Now.
Section titled “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)
Section titled “Usage (Adapting for your application)”Distillery
Section titled “Distillery”Add a dependency on your mix.exs file for distillery
Setup your rel/config.exs file.
Review elixir version
Section titled “Review elixir version”Check on Dockerfile* for the correct elixir version to be used during build.
Adapt your project
Section titled “Adapt your project”- Copy this project’s
docker_buildtask
Build the image using docker
Section titled “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.buildUpload to Zeit using now
Section titled “Upload to Zeit using now”nowLearn more
Section titled “Learn more”- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix