Created
June 8, 2015 22:44
-
-
Save gullitmiranda/bb64e44d14088976e862 to your computer and use it in GitHub Desktop.
Configuration to Ecto use DATABA_URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Mix.Config | |
| # Configure your database | |
| config :hello_phoenix, HelloPhoenix.Repo, | |
| adapter: Ecto.Adapters.Postgres, | |
| url: {:system, "DATABASE_URL"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment