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

tomciopp
TLS 1.3 has been out for a little over a year now, but it has been unavailable in Phoenix due to erlang’s handling of ssl. With the most ...
New
sergio
https://sergiotapia.me/generate-images-with-name-initials-using-elixir-and-imagemagick-374eca4d14ff Hope this saves you guys some time!...
New
hauks96
Hello everyone, I created a deployment tutorial for Phoenix applications with Kubernetes (microk8s) a few months back with the goal of s...
New
GenericJam
Just leaving some breadcrumbs for future me and future others like me. Connect with TCP (not secured) - most servers will reject but use...
New
nelsonic
Complete beginners Todo List Tutorial in Phoenix 1.5.3 (latest and greatest): It’s a feature complete TodoMVC clone with 0% JavaScri...
New
fmcgeough
pipe into case? I use that fairly frequently…unless I’m misunderstanding what you’re wanting…could be… its still very early… str = "Hell...
New
ben-pr-p
Hey all! I put together a starter-pack / instructions to set up Phoenix with the new parcel-bundler instead of brunch (or webpack). It’s...
New
water
I’ll post this here, It might help someone in the future. Feedback is greatly appreciated. I use it with direnv on NixOS, It should wor...
New
zookzook
If you want to use the MongoDB in your next Killer-App-Project, but you did not dare ask because otherwise many would advise you to use P...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

Other popular topics Top

dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement