Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. # This file is responsible for configuring your application
  2. # and its dependencies with the aid of the Mix.Config module.
  3. use Mix.Config
  4.  
  5. # This configuration is loaded before any dependency and is restricted
  6. # to this project. If another project depends on this project, this
  7. # file won't be loaded nor affect the parent project. For this reason,
  8. # if you want to provide default values for your application for
  9. # 3rd-party users, it should be done in your "mix.exs" file.
  10.  
  11. # You can configure for your application as:
  12. #
  13. # config :tsvp, key: :value
  14. #
  15. # And access this configuration in your application as:
  16. #
  17. # Application.get_env(:tsvp, :key)
  18. #
  19. # Or configure a 3rd-party app:
  20. #
  21. # config :logger, level: :info
  22. #
  23.  
  24. # It is also possible to import configuration files, relative to this
  25. # directory. For example, you can emulate configuration per environment
  26. # by uncommenting the line below and defining dev.exs, test.exs and such.
  27. # Configuration from the imported file will override the ones defined
  28. # here (which is why it is important to import them last).
  29. #
  30. # import_config "#{Mix.env}.exs"
  31. config :tsvp, Tsvp.Repo,
  32. adapter: Ecto.Adapters.Postgres,
  33. database: "tsvp",
  34. username: "postgres",
  35. password: "postgres",
  36. pool_size: 1
  37.  
  38. config :tsvp, ecto_repos: [Tsvp.Repo]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement