Changeset View
Changeset View
Standalone View
Standalone View
larus/config/config.exs
# This file is responsible for configuring your application | # This file is responsible for configuring your application | ||||
# and its dependencies with the aid of the Mix.Config module. | # and its dependencies with the aid of the Mix.Config module. | ||||
# | # | ||||
# This configuration file is loaded before any dependency and | # This configuration file is loaded before any dependency and | ||||
# is restricted to this project. | # is restricted to this project. | ||||
use Mix.Config | use Mix.Config | ||||
# Configures the endpoint | # Configures the endpoint | ||||
config :larus, Larus.Endpoint, | config :larus, Larus.Endpoint, | ||||
url: [host: "localhost"], | url: [host: "localhost"], | ||||
root: Path.dirname(__DIR__), | root: Path.dirname(__DIR__), | ||||
secret_key_base: "P4ngDTuHdlm7r4xqCkz1XwmyQoVJ8tJBDixcKVMEE6aVAwUsy59vZw/b/U7UgYpz", | secret_key_base: "P4ngDTuHdlm7r4xqCkz1XwmyQoVJ8tJBDixcKVMEE6aVAwUsy59vZw/b/U7UgYpz", | ||||
render_errors: [accepts: ~w(html json)], | render_errors: [accepts: ~w(html json)], | ||||
pubsub: [name: Larus.PubSub, | pubsub: [name: Larus.PubSub, | ||||
adapter: Phoenix.PubSub.PG2] | adapter: Phoenix.PubSub.PG2] | ||||
config :larus, Larus.Gettext, | |||||
locales: ~w(en de nl) | |||||
# Configures Elixir's Logger | # Configures Elixir's Logger | ||||
config :logger, :console, | config :logger, :console, | ||||
format: "$time $metadata[$level] $message\n", | format: "$time $metadata[$level] $message\n", | ||||
metadata: [:request_id] | metadata: [:request_id] | ||||
# Import environment specific config. This must remain at the bottom | # Import environment specific config. This must remain at the bottom | ||||
# of this file so it overrides the configuration defined above. | # of this file so it overrides the configuration defined above. | ||||
import_config "#{Mix.env}.exs" | import_config "#{Mix.env}.exs" | ||||
# Configure phoenix generators | # Configure phoenix generators | ||||
config :phoenix, :generators, | config :phoenix, :generators, | ||||
migration: true, | migration: true, | ||||
binary_id: false | binary_id: false |