1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

More Distillery changes

This commit is contained in:
Daniel Barber 2018-02-20 11:23:35 -05:00
parent be719febd2
commit 80e6854d5f
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
2 changed files with 10 additions and 9 deletions

View File

@ -1,17 +1,16 @@
use Mix.Config
config :chess, Chess.Endpoint,
load_from_system_env: true,
url: [host: "example.com", port: 80],
cache_static_manifest: "priv/static/cache_manifest.json"
config :chess, Chess.Endpoint,
http: [port: {:system, "PORT"}],
url: [host: "localhost", port: {:system, "PORT"}],
cache_static_manifest: "priv/static/manifest.json",
server: true,
root: "./assets",
version: Application.spec(:myapp, :vsn),
secret_key_base: "${SECRET_KEY_BASE}"
config :chess, Chess.Repo,
adapter: Ecto.Adapters.Postgres,
url: "${DATABASE_URL}",
database: "",
ssl: true,
pool_size: 1

View File

@ -18,8 +18,10 @@ defmodule Chess.Mixfile do
# Type `mix help compile.app` for more information.
def application do
[mod: {Chess, []},
applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :gettext,
:phoenix_ecto, :postgrex, :timex_ecto]]
applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger,
:gettext, :phoenix_ecto, :postgrex, :timex_ecto,
:argon2_elixir, :comeonin, :formulator, :guardian,
:elixir_make]]
end
# Specifies which paths to compile per environment.
@ -33,7 +35,7 @@ defmodule Chess.Mixfile do
[{:argon2_elixir, "~> 1.2"},
{:comeonin, "~> 4.0"},
{:credo, "~> 0.8", only: [:dev, :test]},
{:distillery, "~> 1.5"},
{:distillery, "~> 1.5", runtime: false},
{:formulator, "~> 0.1.6"},
{:phoenix, "~> 1.3.0"},
{:phoenix_pubsub, "~> 1.0"},