Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
use Mix.Config
|
||||
|
||||
# General application configuration
|
||||
config :eventos,
|
||||
ecto_repos: [Eventos.Repo]
|
||||
config :mobilizon,
|
||||
ecto_repos: [Mobilizon.Repo]
|
||||
|
||||
config :eventos, :instance,
|
||||
config :mobilizon, :instance,
|
||||
name: "Localhost",
|
||||
version: "1.0.0-dev",
|
||||
registrations_open: true
|
||||
@@ -20,11 +20,11 @@ config :mime, :types, %{
|
||||
}
|
||||
|
||||
# Configures the endpoint
|
||||
config :eventos, EventosWeb.Endpoint,
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
secret_key_base: "1yOazsoE0Wqu4kXk3uC5gu3jDbShOimTCzyFL3OjCdBmOXMyHX87Qmf3+Tu9s0iM",
|
||||
render_errors: [view: EventosWeb.ErrorView, accepts: ~w(html json)],
|
||||
pubsub: [name: Eventos.PubSub, adapter: Phoenix.PubSub.PG2],
|
||||
render_errors: [view: MobilizonWeb.ErrorView, accepts: ~w(html json)],
|
||||
pubsub: [name: Mobilizon.PubSub, adapter: Phoenix.PubSub.PG2],
|
||||
instance: "localhost",
|
||||
email_from: "noreply@localhost",
|
||||
email_to: "noreply@localhost"
|
||||
@@ -38,12 +38,12 @@ config :logger, :console,
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{Mix.env()}.exs"
|
||||
|
||||
config :eventos, EventosWeb.Guardian,
|
||||
issuer: "eventos",
|
||||
config :mobilizon, MobilizonWeb.Guardian,
|
||||
issuer: "mobilizon",
|
||||
secret_key: "ty0WM7YBE3ojvxoUQxo8AERrNpfbXnIJ82ovkPdqbUFw31T5LcK8wGjaOiReVQjo"
|
||||
|
||||
config :guardian, Guardian.DB,
|
||||
repo: Eventos.Repo,
|
||||
repo: Mobilizon.Repo,
|
||||
# default
|
||||
schema_name: "guardian_tokens",
|
||||
# store all token types if not set
|
||||
|
||||
@@ -6,7 +6,7 @@ use Mix.Config
|
||||
# The watchers configuration can be used to run external
|
||||
# watchers to your application. For example, we use it
|
||||
# with brunch.io to recompile .js and .css sources.
|
||||
config :eventos, EventosWeb.Endpoint,
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
http: [port: System.get_env("PORT") || 4001],
|
||||
debug_errors: true,
|
||||
code_reloader: true,
|
||||
@@ -30,13 +30,13 @@ config :eventos, EventosWeb.Endpoint,
|
||||
# different ports.
|
||||
|
||||
# Watch static and templates for browser reloading.
|
||||
config :eventos, EventosWeb.Endpoint,
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
live_reload: [
|
||||
patterns: [
|
||||
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
|
||||
~r{priv/gettext/.*(po)$},
|
||||
~r{lib/eventos_web/views/.*(ex)$},
|
||||
~r{lib/eventos_web/templates/.*(eex)$}
|
||||
~r{lib/mobilizon_web/views/.*(ex)$},
|
||||
~r{lib/mobilizon_web/templates/.*(eex)$}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -47,14 +47,14 @@ config :logger, :console, format: "[$level] $message\n", level: :debug
|
||||
# in production as building large stacktraces may be expensive.
|
||||
config :phoenix, :stacktrace_depth, 20
|
||||
|
||||
config :eventos, Eventos.Mailer, adapter: Bamboo.LocalAdapter
|
||||
config :mobilizon, Mobilizon.Mailer, adapter: Bamboo.LocalAdapter
|
||||
|
||||
# Configure your database
|
||||
config :eventos, Eventos.Repo,
|
||||
config :mobilizon, Mobilizon.Repo,
|
||||
adapter: Ecto.Adapters.Postgres,
|
||||
types: Eventos.PostgresTypes,
|
||||
types: Mobilizon.PostgresTypes,
|
||||
username: System.get_env("POSTGRES_USER") || "elixir",
|
||||
password: System.get_env("POSTGRES_PASSWORD") || "elixir",
|
||||
database: System.get_env("POSTGRES_DATABASE") || "eventos_dev",
|
||||
database: System.get_env("POSTGRES_DATABASE") || "mobilizon_dev",
|
||||
hostname: System.get_env("POSTGRES_HOST") || "localhost",
|
||||
pool_size: 10
|
||||
|
||||
@@ -3,7 +3,7 @@ use Mix.Config
|
||||
# For production, we often load configuration from external
|
||||
# sources, such as your system environment. For this reason,
|
||||
# you won't find the :http configuration below, but set inside
|
||||
# EventosWeb.Endpoint.init/2 when load_from_system_env is
|
||||
# MobilizonWeb.Endpoint.init/2 when load_from_system_env is
|
||||
# true. Any dynamic configuration should be done there.
|
||||
#
|
||||
# Don't forget to configure the url host to something meaningful,
|
||||
@@ -13,12 +13,12 @@ use Mix.Config
|
||||
# containing the digested version of static files. This
|
||||
# manifest is generated by the mix phx.digest task
|
||||
# which you typically run after static files are built.
|
||||
config :eventos, EventosWeb.Endpoint,
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
load_from_system_env: true,
|
||||
url: [host: "example.com", port: 80],
|
||||
cache_static_manifest: "priv/static/cache_manifest.json"
|
||||
|
||||
config :eventos, Eventos.Mailer,
|
||||
config :mobilizon, Mobilizon.Mailer,
|
||||
adapter: Bamboo.SMTPAdapter,
|
||||
server: "localhost",
|
||||
hostname: "localhost",
|
||||
@@ -45,7 +45,7 @@ config :logger, level: :info
|
||||
# To get SSL working, you will need to add the `https` key
|
||||
# to the previous section and set your `:url` port to 443:
|
||||
#
|
||||
# config :eventos, EventosWeb.Endpoint,
|
||||
# config :mobilizon, MobilizonWeb.Endpoint,
|
||||
# ...
|
||||
# url: [host: "example.com", port: 443],
|
||||
# https: [:inet6,
|
||||
@@ -60,7 +60,7 @@ config :logger, level: :info
|
||||
# We also recommend setting `force_ssl`, ensuring no data is
|
||||
# ever sent via http, always redirecting to https:
|
||||
#
|
||||
# config :eventos, EventosWeb.Endpoint,
|
||||
# config :mobilizon, MobilizonWeb.Endpoint,
|
||||
# force_ssl: [hsts: true]
|
||||
#
|
||||
# Check `Plug.SSL` for all available options in `force_ssl`.
|
||||
@@ -75,7 +75,7 @@ config :logger, level: :info
|
||||
# Alternatively, you can configure exactly which server to
|
||||
# start per endpoint:
|
||||
#
|
||||
# config :eventos, EventosWeb.Endpoint, server: true
|
||||
# config :mobilizon, MobilizonWeb.Endpoint, server: true
|
||||
#
|
||||
|
||||
# Finally import the config/prod.secret.exs
|
||||
|
||||
@@ -2,7 +2,7 @@ use Mix.Config
|
||||
|
||||
# We don't run a server during test. If one is required,
|
||||
# you can enable the server option below.
|
||||
config :eventos, EventosWeb.Endpoint,
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
http: [port: 4001],
|
||||
server: false
|
||||
|
||||
@@ -13,13 +13,13 @@ config :logger,
|
||||
level: :info
|
||||
|
||||
# Configure your database
|
||||
config :eventos, Eventos.Repo,
|
||||
config :mobilizon, Mobilizon.Repo,
|
||||
adapter: Ecto.Adapters.Postgres,
|
||||
username: System.get_env("POSTGRES_USER") || "elixir",
|
||||
password: System.get_env("POSTGRES_PASSWORD") || "elixir",
|
||||
database: "eventos_test",
|
||||
database: "mobilizon_test",
|
||||
hostname: System.get_env("POSTGRES_HOST") || "localhost",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
types: Eventos.PostgresTypes
|
||||
types: Mobilizon.PostgresTypes
|
||||
|
||||
config :eventos, Eventos.Mailer, adapter: Bamboo.TestAdapter
|
||||
config :mobilizon, Mobilizon.Mailer, adapter: Bamboo.TestAdapter
|
||||
|
||||
Reference in New Issue
Block a user