build(phoenix): use sqlite instead of postgres

This commit is contained in:
Anhgelus Morhtuuzh 2025-08-12 13:30:01 +02:00
parent 4a0cbeb094
commit ce8d963331
Signed by: anhgelus
GPG key ID: 617773CACE89052C
10 changed files with 31 additions and 31 deletions

View file

@ -2,13 +2,10 @@ import Config
# Configure your database
config :learning_phoenix, LearningPhoenix.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "learning_phoenix_dev",
database: Path.expand("../learning_phoenix_dev.db", __DIR__),
pool_size: 5,
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10
show_sensitive_data_on_connection_error: true
# For development, we disable any cache and enable
# debugging and code reloading.
@ -23,7 +20,7 @@ config :learning_phoenix, LearningPhoenixWeb.Endpoint,
check_origin: false,
code_reloader: true,
debug_errors: true,
secret_key_base: "PHGloVHjG6wlc7H7AHlnsKEaz7lpSvLf4xktetauKxkuVHp0ILosEQcBDMUilq1f",
secret_key_base: "R8eKg8o2XOUxMSUrfzLxQ3qDFrBpaJxiYW1xRo8BnT1fGZiTWsAzNJjsIWGwhj6X",
watchers: [
esbuild: {Esbuild, :install_and_run, [:learning_phoenix, ~w(--sourcemap=inline --watch)]},
tailwind: {Tailwind, :install_and_run, [:learning_phoenix, ~w(--watch)]}