2
0
mirror of https://github.com/codl/forget synced 2024-12-26 15:13:04 +01:00

example config: mention twitter callback url

also added a note to uncomment values before editing them, just to be safe
This commit is contained in:
codl 2020-03-11 22:13:32 +01:00
parent cdd7d43a18
commit 25dcf17f54

View File

@ -2,6 +2,9 @@
this is an example config file for Forget
copy this file to config.py before editing
lines starting with # demonstrate default or example values
the # should be removed before editing
"""
"""
@ -21,15 +24,6 @@ for syntax reference
"""
# REDIS_URI='redis://'
"""
TWITTER CREDENTIALS
Apply for api keys on the developer portal <https://developer.twitter.com/en/apps>
Twitter locked me out of it so I can't guide you more than that. Sorry.
"""
# TWITTER_CONSUMER_KEY='yN3DUNVO0Me63IAQdhTfCA'
# TWITTER_CONSUMER_SECRET='c768oTKdzAjIYCmpSNIdZbGaG0t6rOhSFQP0S5uC79g'
"""
SERVER ADDRESS
@ -39,6 +33,14 @@ External services will redirect to this address when logging in.
# SERVER_NAME="localhost:5000"
# HTTPS=True
"""
TWITTER CREDENTIALS
Apply for api keys on the developer portal <https://developer.twitter.com/en/apps>
When prompted for it, your callback URL is {SERVER_NAME}/login/twitter/callback
"""
# TWITTER_CONSUMER_KEY='yN3DUNVO0Me63IAQdhTfCA'
# TWITTER_CONSUMER_SECRET='c768oTKdzAjIYCmpSNIdZbGaG0t6rOhSFQP0S5uC79g'
"""
SENTRY