checkpoint: create/delete working now / existing tests passing / need moar tests
[tech-radar-editor.git] / config / config.exs
1 # This file is responsible for configuring your application
2 # and its dependencies with the aid of the Mix.Config module.
3 #
4 # This configuration file is loaded before any dependency and
5 # is restricted to this project.
6 use Mix.Config
7
8 # General application configuration
9 config :tech_radar_editor,
10 ecto_repos: [TechRadarEditor.Repo]
11
12 # Configures the endpoint
13 config :tech_radar_editor, TechRadarEditor.Endpoint,
14 url: [host: "localhost"],
15 secret_key_base: "5btbcSZ/oy+Q0y3+znvIVda7rhJvjPp/76jhi02mAAlmcVpWlCQ2bi3HmfPPFm63",
16 render_errors: [view: TechRadarEditor.ErrorView, accepts: ~w(html json)],
17 pubsub: [name: TechRadarEditor.PubSub,
18 adapter: Phoenix.PubSub.PG2]
19
20 # Configures Elixir's Logger
21 config :logger, :console,
22 format: "$time $metadata[$level] $message\n",
23 metadata: [:request_id]
24
25 # Import environment specific config. This must remain at the bottom
26 # of this file so it overrides the configuration defined above.
27 import_config "#{Mix.env}.exs"