sloanelybutsurely.com/config/dev.exs

39 lines
1.1 KiB
Elixir

import Config
config :logger, :console, format: "[$level] $message\n"
config :phoenix,
plug_init_mode: :runtime,
stacktrace_depth: 20
config :phoenix_live_view,
debug_heex_annotations: true,
enable_expensive_runtime_checks: true
config :sloanely_but_surely, Core.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "sloanely_but_surely_dev",
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10
config :sloanely_but_surely, Web.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4000],
check_origin: false,
code_reloader: true,
debug_errors: true,
secret_key_base: "OiPAYORPwZPHThILCLsbcM9fqJNWoTphDydEEXsrKaILQm1lz8lt0DMiu9cCoVqC",
watchers: [
esbuild: {Esbuild, :install_and_run, [:sloanely_but_surely, ~w(--sourcemap=inline --watch)]},
tailwind: {Tailwind, :install_and_run, [:sloanely_but_surely, ~w(--watch)]}
],
live_reload: [
patterns: [
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",
~r"lib/web/(controllers|live|components)/.*(ex|heex)$"
]
]
config :sloanely_but_surely, dev_routes: true