diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..6506faf --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: mix phx.server diff --git a/mix.exs b/mix.exs index 54d794f..3ab0dc2 100644 --- a/mix.exs +++ b/mix.exs @@ -39,7 +39,6 @@ defmodule Chess.Mixfile do {:comeonin, "~> 4.0"}, {:cowboy, "~> 1.0"}, {:credo, "~> 1.0", only: [:dev, :test]}, - {:distillery, "~> 2.1", runtime: false}, {:formulator, "~> 0.1.6"}, {:gettext, "~> 0.16.0"}, {:guardian, "~> 1.0"}, diff --git a/rel/config.exs b/rel/config.exs deleted file mode 100644 index 29eb450..0000000 --- a/rel/config.exs +++ /dev/null @@ -1,54 +0,0 @@ -# Import all plugins from `rel/plugins` -# They can then be used by adding `plugin MyPlugin` to -# either an environment, or release definition, where -# `MyPlugin` is the name of the plugin module. -["rel", "plugins", "*.exs"] -|> Path.join() -|> Path.wildcard() -|> Enum.map(&Code.eval_file(&1)) - -use Distillery.Releases.Config, - # This sets the default release built by `mix release` - default_release: :default, - # This sets the default environment used by `mix release` - default_environment: Mix.env() - -# For a full list of config options for both releases -# and environments, visit https://hexdocs.pm/distillery/configuration.html - - -# You may define one or more environments in this file, -# an environment's settings will override those of a release -# when building in that environment, this combination of release -# and environment configuration is called a profile - -environment :dev do - # If you are running Phoenix, you should make sure that - # server: true is set and the code reloader is disabled, - # even in dev mode. - # It is recommended that you build with MIX_ENV=prod and pass - # the --env flag to Distillery explicitly if you want to use - # dev mode. - set dev_mode: true - set include_erts: false - set cookie: :"?Oxo8uJ@&D@Sw@`NN!<5rFxVDA)JO1r$OT{{Py79R9`C4&DRNM~%joji8B2%&TCe" -end - -environment :prod do - set include_erts: true - set include_src: false - set cookie: :";IXx6btpc8P4w2LQl*Zq4aD%.`*:k!^|,W=:_21,T?v!Bd0i=NfVv~3J>awv|7^$" -end - -# You may define one or more releases in this file. -# If you have not set a default release, or selected one -# when running `mix release`, the first release in the file -# will be used by default - -release :chess do - set version: current_version(:chess) - set applications: [ - :runtime_tools - ] -end -