Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667import Config
config :ash, policies: [show_policy_breakdowns?: true]
# Configure your database# For development, we disable any cache and enable# debugging and code reloading.## The watchers configuration can be used to run external# watchers to your application. For example, we can use it# to bundle .js and .css sources.config :kloevaa, Kloevaa.Repo, username: "postgres", password: "postgres", hostname: "localhost", database: "kloevaa_dev", stacktrace: true, show_sensitive_data_on_connection_error: true, # Binding to loopback ipv4 address prevents access from other machines. # Change to `ip: {0, 0, 0, 0}` to allow access from other machines. pool_size: 10
config :kloevaa, KloevaaWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: String.to_integer(System.get_env("PORT") || "4000")], check_origin: false, code_reloader: true, debug_errors: true, secret_key_base: "0TjoZ3zHg+6GYzXVacTmZqt0uk4XjQKpOJO8BWGRQm055jlbRxLx76/7+XcJcUOg", watchers: [ esbuild: {Esbuild, :install_and_run, [:kloevaa, ~w(--sourcemap=inline --watch)]}, tailwind: {Tailwind, :install_and_run, [:kloevaa, ~w(--watch)]} ]
# Watch static and templates for browser reloading.config :kloevaa, KloevaaWeb.Endpoint, live_reload: [ web_console_logger: true, patterns: [ ~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/gettext/.*(po)$", ~r"lib/kloevaa_web/(?:controllers|live|components|router)/?.*\.(ex|heex)$" ] ]
# Enable dev routes for dashboard and mailboxconfig :kloevaa, dev_routes: true, token_signing_secret: "1hUi05Bh9r0KievtNeAcuUn8oJ3HS3J2"
# Do not include metadata nor timestamps in development logsconfig :logger, :default_formatter, format: "[$level] $message\n"
# Initialize plugs at runtime for faster development compilation# Include debug annotations and locations in rendered markup.# Set a higher stacktrace during development. Avoid configuring such# Changing this configuration will require mix clean and a full recompile.config :phoenix, :plug_init_mode, :runtime# in production as building large stacktraces may be expensive.config :phoenix, :stacktrace_depth, 20
config :phoenix_live_view, debug_heex_annotations: true, debug_attributes: true, # Enable helpful, but potentially expensive runtime checks enable_expensive_runtime_checks: true
# Disable swoosh api client as it is only required for production adapters.config :swoosh, :api_client, false