I have a small Elixir application that uses feeder_ex to parse XML. In development everything works well but when I build my release with distillery I start getting an unavailable xmerl module error.
I solved it by adding the xmerl application to…
I have an Elixir application that is structured the following way:
Application --> Supervisor --> Worker
The Application Module is fairly simple, it has a use Application and a
def start(_type, _args)
MyApp.Supervisor.start_link()
end
The…
I am deploying the Elixir project to remote using edeliver backed up by distillery.
I also successfully created the systemd.service file that starts, stops, restarts etc the release from the command line.
But the mix edeliver start production…
I've made a release of my elixir application.
It starts to run a supervised task using DB when the app is lunched.
When the DB is not migrated, the task keep error and app is terminated.
I read…
I walk through the https://hexdocs.pm/distillery/getting-started.html documentation but can't get a basic Phoenix application up an running. Here's what I do:
mix phoenix.new test_app --no-ecto
cd test_app
Than I update the mix.exs file to include…
My goal is to add a new application environment variable to an Elixir/Phoenix app, which is released with the distillery and deployed with the edeliver.
Because I've added a new value to the prod.secret.exs file, I'm expecting the new env variable…
I have a Genserver which is needed to run before I can seed data. Adding a post start hook fails on distillery release with an error that my genserver is not running.
(exit) exited in: GenServer.call(MyApp.NumberHelper, {:number,…
When I tried to upgrade a running Phoenix application using Distillery, the build failed with these messages:
Generated teamgenik app
==> Assembling release..
==> Building release my_app:0.10.7 using environment prod
==> Generated .appup for…
I've developed an app on Windows machine and I need to deploy it to Ubuntu 18.04 server. The tools I'd like to use are distillery and edeliver.
So can I just build the release with distillery on my Windows machine or should I build it on the…
I'm trying to release a phoenix application with edeliver following the steps explained here.
I have browsed the internet and found some people having the same problem, but no matter what I do, I keep on getting the same error below.
I can login…
I switched from exrm to distillery in build release for my phoenix project. Everything is working fine. when I do
iex -S mix phx.server
Application runs and everything gets connected with DB. but the build release not connecting with the database.…
I have an elixir application with 3 umbrella projects. I am creating its binary (release) via distillery.
Running this command creates .tar.gz file in _build/prod/rel/se/releases/0.1.0:
MIX_ENV=prod mix release --env=qa
And I am able to extract…
Follow this guide to use Distillery to release a elixir/phoenix project:
https://blog.polyscribe.io/a-complete-guide-to-deploying-elixir-phoenix-applications-on-kubernetes-part-1-setting-up-d88b35b64dcd
At the set config/prod.exs step, the author…
Versions:(both build and production systems are same)
Elixir: 1.4.0
OS: Ubuntu 14.04 LTS
Distillery config:
use Mix.Releases.Config,
default_release: :default,
default_environment: :prod
environment :dev do
set dev_mode: true
set…