#!/bin/sh set -e export SECRET_KEY_BASE=$(mix phx.gen.secret) export DATABASE_URL=ecto://postgres:postgres@localhost/chicken_egg_dev mix deps.get --only prod MIX_ENV=prod mix compile MIX_ENV=prod mix assets.deploy mix phx.gen.release MIX_ENV=prod mix release