refactored for new project name
This commit is contained in:
parent
0039146cd4
commit
82ab1d1ea5
113 changed files with 417 additions and 412 deletions
|
@ -7,21 +7,21 @@
|
|||
# General application configuration
|
||||
use Mix.Config
|
||||
|
||||
config :bones73k,
|
||||
ecto_repos: [Bones73k.Repo]
|
||||
config :shift73k,
|
||||
ecto_repos: [Shift73k.Repo]
|
||||
|
||||
# Custom application global variables
|
||||
config :bones73k, :app_global_vars,
|
||||
config :shift73k, :app_global_vars,
|
||||
time_zone: "America/New_York",
|
||||
mailer_reply_to: "reply_to@example.com",
|
||||
mailer_from: "app_name@example.com"
|
||||
|
||||
# Configures the endpoint
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
secret_key_base: "LdIQmzV5UCWSbB2SdiWFHLgxYNObKq9Za/VyguoILxfOAMDb5IsptKCKtXTRn+Tf",
|
||||
render_errors: [view: Bones73kWeb.ErrorView, accepts: ~w(html json), layout: false],
|
||||
pubsub_server: Bones73k.PubSub,
|
||||
render_errors: [view: Shift73kWeb.ErrorView, accepts: ~w(html json), layout: false],
|
||||
pubsub_server: Shift73k.PubSub,
|
||||
live_view: [signing_salt: "2D4GC4ac"]
|
||||
|
||||
# Configures Elixir's Logger
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
use Mix.Config
|
||||
|
||||
# Configure your database
|
||||
config :bones73k, Bones73k.Repo,
|
||||
config :shift73k, Shift73k.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
database: "bones73k_dev",
|
||||
database: "shift73k_dev",
|
||||
hostname: "localhost",
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
pool_size: 10
|
||||
|
@ -15,7 +15,7 @@ config :bones73k, Bones73k.Repo,
|
|||
# The watchers configuration can be used to run external
|
||||
# watchers to your application. For example, we use it
|
||||
# with webpack to recompile .js and .css sources.
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
http: [port: 4000],
|
||||
debug_errors: true,
|
||||
code_reloader: true,
|
||||
|
@ -56,13 +56,13 @@ config :bones73k, Bones73kWeb.Endpoint,
|
|||
# different ports.
|
||||
|
||||
# Watch static and templates for browser reloading.
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
live_reload: [
|
||||
patterns: [
|
||||
~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$",
|
||||
~r"priv/gettext/.*(po)$",
|
||||
~r"lib/bones73k_web/(live|views)/.*(ex)$",
|
||||
~r"lib/bones73k_web/templates/.*(eex)$"
|
||||
~r"lib/shift73k_web/(live|views)/.*(ex)$",
|
||||
~r"lib/shift73k_web/templates/.*(eex)$"
|
||||
]
|
||||
]
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ use Mix.Config
|
|||
# manifest is generated by the `mix phx.digest` task,
|
||||
# which you should run after static files are built and
|
||||
# before starting your production server.
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
url: [host: "example.com", port: 80],
|
||||
cache_static_manifest: "priv/static/cache_manifest.json"
|
||||
|
||||
|
@ -21,7 +21,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 :bones73k, Bones73kWeb.Endpoint,
|
||||
# config :shift73k, Shift73kWeb.Endpoint,
|
||||
# ...
|
||||
# url: [host: "example.com", port: 443],
|
||||
# https: [
|
||||
|
@ -45,7 +45,7 @@ config :logger, level: :info
|
|||
# We also recommend setting `force_ssl` in your endpoint, ensuring
|
||||
# no data is ever sent via http, always redirecting to https:
|
||||
#
|
||||
# config :bones73k, Bones73kWeb.Endpoint,
|
||||
# config :shift73k, Shift73kWeb.Endpoint,
|
||||
# force_ssl: [hsts: true]
|
||||
#
|
||||
# Check `Plug.SSL` for all available options in `force_ssl`.
|
||||
|
|
|
@ -11,7 +11,7 @@ database_url =
|
|||
For example: ecto://USER:PASS@HOST/DATABASE
|
||||
"""
|
||||
|
||||
config :bones73k, Bones73k.Repo,
|
||||
config :shift73k, Shift73k.Repo,
|
||||
# ssl: true,
|
||||
url: database_url,
|
||||
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
|
||||
|
@ -23,7 +23,7 @@ secret_key_base =
|
|||
You can generate one by calling: mix phx.gen.secret
|
||||
"""
|
||||
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
http: [
|
||||
port: String.to_integer(System.get_env("PORT") || "4000"),
|
||||
transport_options: [socket_opts: [:inet6]]
|
||||
|
@ -35,7 +35,7 @@ config :bones73k, Bones73kWeb.Endpoint,
|
|||
# If you are doing OTP releases, you need to instruct Phoenix
|
||||
# to start each relevant endpoint:
|
||||
#
|
||||
# config :bones73k, Bones73kWeb.Endpoint, server: true
|
||||
# config :shift73k, Shift73kWeb.Endpoint, server: true
|
||||
#
|
||||
# Then you can assemble a release by calling `mix release`.
|
||||
# See `mix help release` for more information.
|
||||
|
|
|
@ -8,16 +8,16 @@ config :bcrypt_elixir, :log_rounds, 1
|
|||
# The MIX_TEST_PARTITION environment variable can be used
|
||||
# to provide built-in test partitioning in CI environment.
|
||||
# Run `mix help test` for more information.
|
||||
config :bones73k, Bones73k.Repo,
|
||||
config :shift73k, Shift73k.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
database: "bones73k_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
database: "shift73k_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
hostname: "localhost",
|
||||
pool: Ecto.Adapters.SQL.Sandbox
|
||||
|
||||
# We don't run a server during test. If one is required,
|
||||
# you can enable the server option below.
|
||||
config :bones73k, Bones73kWeb.Endpoint,
|
||||
config :shift73k, Shift73kWeb.Endpoint,
|
||||
http: [port: 4002],
|
||||
server: false
|
||||
|
||||
|
@ -25,7 +25,7 @@ config :bones73k, Bones73kWeb.Endpoint,
|
|||
config :logger, level: :warn
|
||||
|
||||
# Bamboo test mailer config
|
||||
config :bones73k, Bones73k.Mailer, adapter: Bamboo.TestAdapter
|
||||
config :shift73k, Shift73k.Mailer, adapter: Bamboo.TestAdapter
|
||||
|
||||
# Import secret config
|
||||
import_config "test.secret.exs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue