Rename project to Mobilizon

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-10-11 17:37:39 +02:00
parent 3b48ac957f
commit 559c889f1b
191 changed files with 739 additions and 739 deletions

14
lib/mobilizon/repo.ex Normal file
View File

@@ -0,0 +1,14 @@
defmodule Mobilizon.Repo do
@moduledoc """
Mobilizon Repo
"""
use Ecto.Repo, otp_app: :mobilizon
@doc """
Dynamically loads the repository url from the
DATABASE_URL environment variable.
"""
def init(_, opts) do
{:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))}
end
end