Something went wrong. Try again.
A self publishing platform and presentation framework on fire built with Elixir & Phoenix LiveView 🐦🔥 alchemy-pub.fly.dev
liveview slides blog-engine ssg blog markdown elixir presentation rss phoenix
Something went wrong. Try again.
1.1 kB · 31 lines
Elixir
at main
1234567891011121314151617181920212223242526272829303132import Config
config :alchemy_pub, AlchemyPubWeb.Endpoint, http: [ip: {0, 0, 0, 0}, port: 4002], check_origin: false, code_reloader: true, # also recompile and reload the platform when its code changes (it is a path dependency) reloadable_apps: [:alchemy_pub, :example_site], debug_errors: true, secret_key_base: "ExampleSiteDevOnlySecretKeyBaseThatIsLongEnoughForPhoenixToAccept0000", watchers: [], web_console_logger: true, live_reload: [ patterns: [ ~r"priv/static/(?!uploads/).*(js|css|png|webp|jpeg|jpg|gif|svg)$", ~r"lib/alchemy_pub_web/(controllers|live|components)/.*(ex|heex)$" ] ]
config :alchemy_pub, admin_secret: "local_admin"config :alchemy_pub, dev_routes: true
config :logger, :console, format: "[$level] $message\n"config :phoenix, :plug_init_mode, :runtimeconfig :phoenix, :stacktrace_depth, 20config :phoenix_live_view, debug_heex_annotations: true, enable_expensive_runtime_checks: trueconfig :swoosh, :api_client, false
config :volt, :server, prefix: "/assets", watch_dirs: ["../../lib/"]