Packages

Generate a simple free-standing application with an ecto layer, intended to be used as a database resource in an application written using decoupled resources.

Current section

Files

Jump to
gen_template_ecto_server template $PROJECT_NAME$ config dev.exs
Raw

template/$PROJECT_NAME$/config/dev.exs

use Mix.Config
config :<%= @project_name %>, <%= @project_name_camel_case %>.Repo,
adapter: Ecto.Adapters.Postgres,
database: "xxxx_dev",
username: "postgres",
password: "postgres",
hostname: "localhost"