For testing, I have a simple controller to inspect the client's remote IP address:
defmodule AppWeb.PageController do
use AppWeb, :controller
def index(conn, _params) do
IO.inspect conn.remote_ip
render conn, "index.html"
…
i need your help!
im trying to run migrations in a distillery release (Elixir-Application) before the application starts automatically (via Boot Hooks -https://hexdocs.pm/distillery/boot-hooks.html#content).
Development and Production platform must…
I am trying to deploy my Phoenix 1.3 application. I've setup mix docker release build. Now I am figuring out how to run migrations.
I've decided to go with approach with making custom release command. I've created such MigrationTask:
defmodule…
Is it possible to use Amnesia with distillery. Because mix is unavailable in a distillery release, I am unsure how I would go about creating the mnesia db.
We are using distillery to create an executable build release in our
phoenix application. We are using docker to deploy our application on Digital Ocean. Since we don't want to share code with the other machine we want to execute the build compiled…
I've been built an app with Phoenix + Elixir and deploy it to server with distillery.
Everything worked fine, until I try to create some bash script to automate deployment, FYI: I've been tried edeliver but it didn't fit my need.
I'm always…