fosspay/config.ini.example

66 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-09-05 02:51:20 +00:00
[dev]
# Change this to the actual location of your site
2015-09-06 21:59:29 +00:00
# You can include a path in the domain if it's a subdirectory
# i.e. domain=drewdevault.com/donate
# omit the trailing slash
2015-09-05 02:51:20 +00:00
protocol=http
domain=localhost:5000
# Change this value to something random and secret
secret-key=hello world
# On the debug server, this lets you choose what to bind to
debug-host=0.0.0.0
debug-port=5000
# Fill out these details with your mail server
smtp-host=mail.you.com
smtp-port=587
smtp-user=you
smtp-password=password
smtp-from=donate@you.com
# Your information
2015-09-06 21:59:29 +00:00
your-name=Joe Bloe
your-email=joe@bloe.com
2015-09-06 01:30:52 +00:00
# ^ you should have a gravatar that works with this email
2015-09-05 02:51:20 +00:00
# SQL connection string
connection-string=postgresql://postgres@localhost/fosspay
2015-09-06 01:36:13 +00:00
2015-09-06 21:59:29 +00:00
# Stripe API info: https://dashboard.stripe.com/account/apikeys
stripe-secret=
stripe-publish=
2017-12-09 17:06:54 +00:00
# Separate with spaces
default-amounts=3 5 10 20
# Which one to pick when they arrive?
default-amount=5
# Pick between "monthly" and "once"
default-type=monthly
2017-12-09 16:43:32 +00:00
# Display monthly donations publically
public-income=yes
# How much are you hoping to earn monthly, in cents
goal=500
# Optional Patreon integration
# Register a client here: https://www.patreon.com/portal/registration/register-clients
# And put in the "Creator's Access Token" here:
patreon-access-token=
# And the "Creator's Refresh Token" here:
patreon-refresh-token=
# Client ID
patreon-client-id=
# Client secret
patreon-client-secret=
2017-12-09 16:43:32 +00:00
# And the Patreon campaign you want to connect with:
patreon-campaign=
# Optional LiberaPay integration, fill in your username here
liberapay-campaign=
# Command to reload fosspay (send it a SIGHUP)
reload-command=kill -HUP $(pgrep -xf '/usr/bin/python3.*app.py' | tail -n 1)