Provides diagnostic information about a page's compatibility with IndieWeb specs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dev.exs 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. use Mix.Config
  2. # For development, we disable any cache and enable
  3. # debugging and code reloading.
  4. #
  5. # The watchers configuration can be used to run external
  6. # watchers to your application. For example, we use it
  7. # with webpack to recompile .js and .css sources.
  8. config :checkup, CheckupWeb.Endpoint,
  9. http: [port: 4000],
  10. debug_errors: true,
  11. code_reloader: true,
  12. check_origin: false,
  13. watchers: []
  14. # ## SSL Support
  15. #
  16. # In order to use HTTPS in development, a self-signed
  17. # certificate can be generated by running the following
  18. # Mix task:
  19. #
  20. # mix phx.gen.cert
  21. #
  22. # Note that this task requires Erlang/OTP 20 or later.
  23. # Run `mix help phx.gen.cert` for more information.
  24. #
  25. # The `http:` config above can be replaced with:
  26. #
  27. # https: [
  28. # port: 4001,
  29. # cipher_suite: :strong,
  30. # keyfile: "priv/cert/selfsigned_key.pem",
  31. # certfile: "priv/cert/selfsigned.pem"
  32. # ],
  33. #
  34. # If desired, both `http:` and `https:` keys can be
  35. # configured to run both http and https servers on
  36. # different ports.
  37. # Watch static and templates for browser reloading.
  38. config :checkup, CheckupWeb.Endpoint,
  39. live_reload: [
  40. patterns: [
  41. ~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
  42. ~r{priv/gettext/.*(po)$},
  43. ~r{lib/checkup_web/views/.*(ex)$},
  44. ~r{lib/checkup_web/templates/.*(eex)$}
  45. ]
  46. ]
  47. # Do not include metadata nor timestamps in development logs
  48. config :logger, :console, format: "[$level] $message\n"
  49. # Set a higher stacktrace during development. Avoid configuring such
  50. # in production as building large stacktraces may be expensive.
  51. config :phoenix, :stacktrace_depth, 20
  52. # Initialize plugs at runtime for faster development compilation
  53. config :phoenix, :plug_init_mode, :runtime
  54. # Configure your database
  55. config :checkup, Checkup.Repo,
  56. username: "postgres",
  57. password: "postgres",
  58. database: "checkup_dev",
  59. hostname: "localhost",
  60. pool_size: 10