dev.exs (1875B)
1 import Config 2 3 # Configure your database 4 config :users, Users.Repo, 5 database: Path.expand("../users_dev.db", __DIR__), 6 pool_size: 5, 7 stacktrace: true, 8 show_sensitive_data_on_connection_error: true 9 10 # For development, we disable any cache and enable 11 # debugging and code reloading. 12 # 13 # The watchers configuration can be used to run external 14 # watchers to your application. For example, we can use it 15 # to bundle .js and .css sources. 16 config :users, UsersWeb.Endpoint, 17 # Binding to loopback ipv4 address prevents access from other machines. 18 # Change to `ip: {0, 0, 0, 0}` to allow access from other machines. 19 http: [ip: {127, 0, 0, 1}], 20 check_origin: false, 21 code_reloader: true, 22 debug_errors: true, 23 secret_key_base: "kBmN5uKksyVmKceO2I7skqXx+Ger9wSpW3XAb1H4laE3N2EXVUQSlFtnxRM1kecJ", 24 watchers: [] 25 26 # ## SSL Support 27 # 28 # In order to use HTTPS in development, a self-signed 29 # certificate can be generated by running the following 30 # Mix task: 31 # 32 # mix phx.gen.cert 33 # 34 # Run `mix help phx.gen.cert` for more information. 35 # 36 # The `http:` config above can be replaced with: 37 # 38 # https: [ 39 # port: 4001, 40 # cipher_suite: :strong, 41 # keyfile: "priv/cert/selfsigned_key.pem", 42 # certfile: "priv/cert/selfsigned.pem" 43 # ], 44 # 45 # If desired, both `http:` and `https:` keys can be 46 # configured to run both http and https servers on 47 # different ports. 48 49 # Enable dev routes for dashboard and mailbox 50 config :users, dev_routes: true 51 52 # Do not include metadata nor timestamps in development logs 53 config :logger, :default_formatter, format: "[$level] $message\n" 54 55 # Set a higher stacktrace during development. Avoid configuring such 56 # in production as building large stacktraces may be expensive. 57 config :phoenix, :stacktrace_depth, 20 58 59 # Initialize plugs at runtime for faster development compilation 60 config :phoenix, :plug_init_mode, :runtime