Add configuration generation tool, update readme.
This commit is contained in:
parent
d16b613929
commit
44dc694882
4 changed files with 40 additions and 51 deletions
20
lib/mix/tasks/sample_config.eex
Normal file
20
lib/mix/tasks/sample_config.eex
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
use Mix.Config
|
||||
|
||||
config :pleroma, Pleroma.Web.Endpoint,
|
||||
url: [host: "<%= domain %>", scheme: "https", port: 443],
|
||||
secret_key_base: "<%= secret %>"
|
||||
|
||||
config :pleroma, :instance,
|
||||
name: "<%= name %>",
|
||||
email: "<%= email %>",
|
||||
limit: 5000,
|
||||
registrations_open: true
|
||||
|
||||
# Configure your database
|
||||
config :pleroma, Pleroma.Repo,
|
||||
adapter: Ecto.Adapters.Postgres,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
database: "pleroma_dev",
|
||||
hostname: "localhost",
|
||||
pool_size: 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue