rename project from SimpleshopTheme to Berrypod
All modules, configs, paths, and references updated. 836 tests pass, zero warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,12 +12,12 @@ import Config
|
||||
# If you use `mix release`, you need to explicitly enable the server
|
||||
# by passing the PHX_SERVER=true when you start it:
|
||||
#
|
||||
# PHX_SERVER=true bin/simpleshop_theme start
|
||||
# PHX_SERVER=true bin/berrypod start
|
||||
#
|
||||
# Alternatively, you can use `mix phx.gen.release` to generate a `bin/server`
|
||||
# script that automatically sets the env var above.
|
||||
if System.get_env("PHX_SERVER") do
|
||||
config :simpleshop_theme, SimpleshopThemeWeb.Endpoint, server: true
|
||||
config :berrypod, BerrypodWeb.Endpoint, server: true
|
||||
end
|
||||
|
||||
if config_env() == :prod do
|
||||
@@ -25,10 +25,10 @@ if config_env() == :prod do
|
||||
System.get_env("DATABASE_PATH") ||
|
||||
raise """
|
||||
environment variable DATABASE_PATH is missing.
|
||||
For example: /data/simpleshop_theme.db
|
||||
For example: /data/berrypod.db
|
||||
"""
|
||||
|
||||
config :simpleshop_theme, SimpleshopTheme.Repo,
|
||||
config :berrypod, Berrypod.Repo,
|
||||
database: database_path,
|
||||
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"),
|
||||
journal_mode: :wal,
|
||||
@@ -49,9 +49,9 @@ if config_env() == :prod do
|
||||
host = System.get_env("PHX_HOST") || "example.com"
|
||||
port = String.to_integer(System.get_env("PORT") || "4000")
|
||||
|
||||
config :simpleshop_theme, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
|
||||
config :berrypod, :dns_cluster_query, System.get_env("DNS_CLUSTER_QUERY")
|
||||
|
||||
config :simpleshop_theme, SimpleshopThemeWeb.Endpoint,
|
||||
config :berrypod, BerrypodWeb.Endpoint,
|
||||
url: [host: host, port: 443, scheme: "https"],
|
||||
http: [
|
||||
# Enable IPv6 and bind on all interfaces.
|
||||
@@ -68,7 +68,7 @@ if config_env() == :prod do
|
||||
# To get SSL working, you will need to add the `https` key
|
||||
# to your endpoint configuration:
|
||||
#
|
||||
# config :simpleshop_theme, SimpleshopThemeWeb.Endpoint,
|
||||
# config :berrypod, BerrypodWeb.Endpoint,
|
||||
# https: [
|
||||
# ...,
|
||||
# port: 443,
|
||||
@@ -90,7 +90,7 @@ if config_env() == :prod do
|
||||
# We also recommend setting `force_ssl` in your config/prod.exs,
|
||||
# ensuring no data is ever sent via http, always redirecting to https:
|
||||
#
|
||||
# config :simpleshop_theme, SimpleshopThemeWeb.Endpoint,
|
||||
# config :berrypod, BerrypodWeb.Endpoint,
|
||||
# force_ssl: [hsts: true]
|
||||
#
|
||||
# Check `Plug.SSL` for all available options in `force_ssl`.
|
||||
@@ -102,20 +102,20 @@ if config_env() == :prod do
|
||||
#
|
||||
# Postmark (recommended):
|
||||
#
|
||||
# config :simpleshop_theme, SimpleshopTheme.Mailer,
|
||||
# config :berrypod, Berrypod.Mailer,
|
||||
# adapter: Swoosh.Adapters.Postmark,
|
||||
# api_key: System.get_env("POSTMARK_API_KEY")
|
||||
#
|
||||
# Mailgun:
|
||||
#
|
||||
# config :simpleshop_theme, SimpleshopTheme.Mailer,
|
||||
# config :berrypod, Berrypod.Mailer,
|
||||
# adapter: Swoosh.Adapters.Mailgun,
|
||||
# api_key: System.get_env("MAILGUN_API_KEY"),
|
||||
# domain: System.get_env("MAILGUN_DOMAIN")
|
||||
#
|
||||
# SMTP (any provider):
|
||||
#
|
||||
# config :simpleshop_theme, SimpleshopTheme.Mailer,
|
||||
# config :berrypod, Berrypod.Mailer,
|
||||
# adapter: Swoosh.Adapters.SMTP,
|
||||
# relay: System.get_env("SMTP_HOST"),
|
||||
# port: String.to_integer(System.get_env("SMTP_PORT") || "587"),
|
||||
@@ -124,5 +124,5 @@ if config_env() == :prod do
|
||||
# tls: :if_available
|
||||
|
||||
# Stripe and Printify keys are stored encrypted in the database and loaded
|
||||
# at runtime by SimpleshopTheme.Secrets. No env vars needed for those.
|
||||
# at runtime by Berrypod.Secrets. No env vars needed for those.
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user