Re:Elixir web development 101: collaborative todolist with r...
by napsterbr on Friday October 27, 2017 @02:08PM
(#15570813)
Hey, I've went through the "trouble" of using continuous deployment with elixir and distillery.
Since the project I'm working on is open source, you can see how I've done it. It's still far from perfect but maybe it could be a place to start.
Elixir app is on https://github.com/hackerexperience/helix. You'd probably be interested on `lib/release.ex` and `rel/`.
For the ci, our infrastructure playbooks are at https://github.com/hackerexperience/infrastructure, and you probably want to look at `roles/{helix, erlang, elixir}`.
Hit me up if you have questions our would like to discuss further. Email is on profile.
Btw, here's a great presentation about the topic: https://youtube.com/watch?v=H686MDn4Lo8
Re:Elixir web development 101: collaborative todolist with r...
by jetti on Friday October 27, 2017 @03:01PM
(#15571220)
Thanks for this, I'll take a look and definitely hit you up if I have questions.
Re:Elixir web development 101: collaborative todolist with r...
by abrookewood on Saturday October 28, 2017 @02:28AM
(#15574212)
Dockyard (where Chris McCord works) is currently hiring staff to improve Elixir deployment, so hopefully we will see something that addresses this issue soon enough: https://dockyard.com/press/releases/2017/09/08/dockyard-hiri...
Re:Elixir web development 101: collaborative todolist with r...
by ArturT on Friday October 27, 2017 @01:22PM
(#15570405)
Setup deployment takes some time so I prepared blog post and an example Phoenix app how to do it with edeliver, distillery and Ansible playbooks http://blog.lunarlogic.io/phoenix-app-deployment-with-ansibl...
We spent some time with friend doing research and trying to connect all pieces to make it work.
Re:Elixir web development 101: collaborative todolist with r...
by jetti on Friday October 27, 2017 @01:51PM
(#15570660)
Thanks for the link, but the issue is deploying non-phoenix apps. There are tons of documentation (well relatively tons) on Phoenix app and deployment but console apps in Elixir have very little around that I have found.
Re:Elixir web development 101: collaborative todolist with r...
by passer-by-123 on Friday October 27, 2017 @12:52PM
(#15570108)
FWIW, deploying a non-Phoenix app with distillery is exactly the same as deploying a Phoenix app.
I would love to see more examples that get away from web dev with Elixir. While it's great with the Phoenix framework there is so much more to Elixir than that. Trying to deploy an elixir daemon has been a pain and I haven't found much around that. There is escript and distillery and while I haven't tried distillery for non-phoenix apps, escript works but deploying is still a pain.