Set up localspot as a Phoenix 1.8 LiveView application with: - Erlang/Elixir via asdf - PostgreSQL database (local user config) - Tailwind CSS v4 with daisyUI - Updated AGENTS.md with project setup and guidelines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
964 B
Elixir
24 lines
964 B
Elixir
import Config
|
|
|
|
# Note we also include the path to a cache manifest
|
|
# containing the digested version of static files. This
|
|
# manifest is generated by the `mix assets.deploy` task,
|
|
# which you should run after static files are built and
|
|
# before starting your production server.
|
|
config :localspot, LocalspotWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
|
|
|
|
# Force using SSL in production. This also sets the "strict-security-transport" header,
|
|
# also known as HSTS. `:force_ssl` is required to be set at compile-time.
|
|
config :localspot, LocalspotWeb.Endpoint, force_ssl: [rewrite_on: [:x_forwarded_proto]]
|
|
|
|
# Configure Swoosh API Client
|
|
config :swoosh, api_client: Swoosh.ApiClient.Req
|
|
|
|
# Disable Swoosh Local Memory Storage
|
|
config :swoosh, local: false
|
|
|
|
# Do not print debug messages in production
|
|
config :logger, level: :info
|
|
|
|
# Runtime production configuration, including reading
|
|
# of environment variables, is done on config/runtime.exs.
|