init SlideLife
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
import Config
|
||||
|
||||
# Configure your database
|
||||
config :modern_base, ModernBase.Repo,
|
||||
config :slide_life, SlideLife.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
database: "modern_base_dev",
|
||||
database: "slide_life_dev",
|
||||
stacktrace: true,
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
pool_size: 10
|
||||
@ -16,7 +16,7 @@ config :modern_base, ModernBase.Repo,
|
||||
# The watchers configuration can be used to run external
|
||||
# watchers to your application. For example, we can use it
|
||||
# to bundle .js and .css sources.
|
||||
config :modern_base, ModernBaseWeb.Endpoint,
|
||||
config :slide_life, SlideLifeWeb.Endpoint,
|
||||
# Binding to loopback ipv4 address prevents access from other machines.
|
||||
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
|
||||
http: [ip: {127, 0, 0, 1}, port: 4000],
|
||||
@ -25,8 +25,8 @@ config :modern_base, ModernBaseWeb.Endpoint,
|
||||
debug_errors: true,
|
||||
secret_key_base: "SJCi/gfKcoIeiOLcl5pcNoMsAtluCExbdb66zFwuSrMPjKHr/DumTB35OCXisztJ",
|
||||
watchers: [
|
||||
esbuild: {Esbuild, :install_and_run, [:modern_base, ~w(--sourcemap=inline --watch)]},
|
||||
tailwind: {Tailwind, :install_and_run, [:modern_base, ~w(--watch)]}
|
||||
esbuild: {Esbuild, :install_and_run, [:slide_life, ~w(--sourcemap=inline --watch)]},
|
||||
tailwind: {Tailwind, :install_and_run, [:slide_life, ~w(--watch)]}
|
||||
]
|
||||
|
||||
# ## SSL Support
|
||||
@ -53,17 +53,17 @@ config :modern_base, ModernBaseWeb.Endpoint,
|
||||
# different ports.
|
||||
|
||||
# Watch static and templates for browser reloading.
|
||||
config :modern_base, ModernBaseWeb.Endpoint,
|
||||
config :slide_life, SlideLifeWeb.Endpoint,
|
||||
live_reload: [
|
||||
patterns: [
|
||||
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",
|
||||
~r"priv/gettext/.*(po)$",
|
||||
~r"lib/modern_base_web/(controllers|live|components)/.*(ex|heex)$"
|
||||
~r"lib/slide_life_web/(controllers|live|components)/.*(ex|heex)$"
|
||||
]
|
||||
]
|
||||
|
||||
# Enable dev routes for dashboard and mailbox
|
||||
config :modern_base, dev_routes: true
|
||||
config :slide_life, dev_routes: true
|
||||
|
||||
# Do not include metadata nor timestamps in development logs
|
||||
config :logger, :console, format: "[$level] $message\n"
|
||||
|
Reference in New Issue
Block a user