1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
chess/config/dev.exs
2023-11-09 16:38:23 -06:00

37 lines
905 B
Elixir

import Config
config :chess, ChessWeb.Endpoint,
http: [port: 4000],
debug_errors: true,
code_reloader: true,
check_origin: false,
watchers: [
esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline
--watch)]},
sass:
{DartSass, :install_and_run,
[:default, ~w(--embed-source-map --source-map-urls=absolute --watch)]}
]
config :chess, ChessWeb.Endpoint,
live_reload: [
patterns: [
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
~r{priv/gettext/.*(po)$},
~r{lib/chess_web/views/.*(ex)$},
~r{lib/chess_web/templates/.*(eex)$}
]
]
config :logger, :console, format: "[$level] $message\n"
config :phoenix, :stacktrace_depth, 20
config :chess, Chess.Mailer, adapter: Bamboo.LocalAdapter
config :chess, Chess.Repo,
adapter: Ecto.Adapters.Postgres,
database: "chess_dev",
hostname: "localhost",
pool_size: 10