danschultzer

danschultzer

Pow Core Team

Phoenix: Automated build and deploy made simple

I wrote this blog post based on our experiences setting up continuous delivery for our first production umbrella Phoenix app. Coming from capistrano with Rails, I wanted to have something equally simple and flexible for our Phoenix app. Ansible with distillery was the answer.

We’ve used this set up in production for a while now and it has been working flawlessly. I hope it will help others save time going from development to production deployment.

Blog post - https://dreamconception.com/tech/phoenix-automated-build-and-deploy-made-simple/

Sample repo - https://github.com/danschultzer/ansible-phoenix-build

Most Liked

danschultzer

danschultzer

Pow Core Team

Updated to Elixir 1.9.0 so mix release is used instead of :distillery :rocket:

axelson

axelson

Scenic Core Team

Nice, thanks for updating it! It looks quite helpful. I have a quick suggestion. For anyone visiting that post via Google I’d recommend putting a “updated at” date or note in the blog post itself, otherwise I’d worry that people would land there and dismiss the blog post as “outdated” without actually reading it.

danschultzer

danschultzer

Pow Core Team

Yeah, you’re absolutely right. Thanks for pushing me to finally update the theme to show the updated date :smile:

Where Next?

Popular in Guides/Tuts Top

AstonJ
This blog post hit my timeline earlier, and I’ve also been learning about some fantastic Elixir related tips via @pragdave’s new online c...
New
dennisreimann
I wrote a guide for implementing Passwordless Authentication a.k.a. “Magic Login Links”: https://dennisreimann.de/articles/phoenix-passw...
New
thetechnologyvault
One of our team members just published this getting started guide for Elixir/Phoenix devs to use the Nanobox platform: https://content.n...
New
zachallaun
Hey friends, wanted to share a tiny shell script I’ve been using to start Livebook with easy access to either a running production server...
New
siever
I just wrote a simple guide on how you can setup a productive elixir development environment in vim. Its really easy, just a few steps. ...
New
AstonJ
..or as and when you can think of one :icon_cool: This thread my also be of interest: What took you way too long to figure out? :003:
New
anuragg
Hi everyone, I’m the founder of Render and we just released a guide to deploying Phoenix apps with Mix releases. Most of it is generali...
New
TwistingTwists
This is a thread to note down things/best practices encountered in LiveBeats App as I explore the source code. https://github.com/fly-...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
anuragg
We finally have a Mix clustering guide to go with Phoenix deployment with Mix Releases. Deploy an Elixir Cluster with Mix Releases and l...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement