Packages

Provides `mix needle.new.*` tasks to bootstrap new Phoenix projects.

Current section

Files

Jump to
needle_new templates needle_web config test.exs
Raw

templates/needle_web/config/test.exs

import Config
# Configure the endpoint
#
# We don't run a server during test. If one is required, you can enable the
# server option below.
config <%= inspect @web_app %>, <%= inspect @web_module %>.Endpoint,
url: [host: "localhost"],
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "<%= @phoenix_secret_key_base_test %>",
server: false