3 # For development, we disable any cache and enable
4 # debugging and code reloading.
6 # The watchers configuration can be used to run external
7 # watchers to your application. For example, we use it
8 # with brunch.io to recompile .js and .css sources.
9 config :tech_radar_editor, TechRadarEditor.Endpoint,
14 watchers: [node: ["node_modules/brunch/bin/brunch", "watch", "--stdin",
15 cd: Path.expand("../", __DIR__)]]
18 # Watch static and templates for browser reloading.
19 config :tech_radar_editor, TechRadarEditor.Endpoint,
22 ~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
23 ~r{priv/gettext/.*(po)$},
24 ~r{web/views/.*(ex)$},
25 ~r{web/templates/.*(eex)$}
29 # Do not include metadata nor timestamps in development logs
30 config :logger, :console, format: "[$level] $message\n"
32 # Set a higher stacktrace during development. Avoid configuring such
33 # in production as building large stacktraces may be expensive.
34 config :phoenix, :stacktrace_depth, 20
36 # Configure your database
37 config :tech_radar_editor, TechRadarEditor.Repo,
38 adapter: Ecto.Adapters.Postgres,
41 database: "tech_radar_editor_dev",
42 hostname: "localhost",