can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

70 lines
2.2 KiB

# This file is responsible for configuring your umbrella
# and **all applications** and their dependencies with the
# help of Mix.Config.
#
# Note that all applications in your umbrella share the
# same configuration and dependencies, which is why they
# all use the same configuration file. If you want different
# configurations or dependencies per app, it is best to
# move said applications out of the umbrella.
use Mix.Config
# Configure Mix tasks and generators
config :db,
ecto_repos: [Db.Repo]
config :tomie,
user_agent: "Tomie/0.x (https://inhji.de)"
config :tomie_web,
ecto_repos: [Db.Repo],
generators: [context_app: :tomie]
# Configures the endpoint
config :tomie_web, TomieWeb.Endpoint,
url: [host: "localhost"],
secret_key_base: "vA2gj8nBFMrN/nH0bjo09DfxDovTsbUZJbpnsawqXsTneL/F0nWEY5PfY5uptNra",
render_errors: [view: TomieWeb.ErrorView, accepts: ~w(html json)],
pubsub: [name: TomieWeb.PubSub, adapter: Phoenix.PubSub.PG2],
live_view: [signing_salt: "La8TeKsJi1aZt2Bhp8vXfx9HOOFpP/JY"]
config :tomie_web, :pow,
user: Users.User,
repo: Db.Repo,
web_module: TomieWeb
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason
config :git_ops,
mix_project: Tomie.Umbrella.MixProject,
changelog_file: "CHANGELOG.md",
repository_url: "https://git.inhji.de/inhji/tomie",
types: [
# Makes an allowed commit type called `tidbit` that is not
# shown in the changelog
tidbit: [
hidden?: true
],
# Makes an allowed commit type called `important` that gets
# a section in the changelog with the header "Important Changes"
important: [
header: "Important Changes"
]
],
# Instructs the tool to manage your mix version in your `mix.exs` file
# See below for more information
manage_mix_version?: true,
# Instructs the tool to manage the version in your README.md
# Pass in `true` to use `"README.md"` or a string to customize
manage_readme_version: "README.md",
version_tag_prefix: "v"
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"