Strife is a little app for displaying Discord profiles, along with their associated links.
- Why can't I search for users? - Because they need to explicitly opt-in so we've got access to their connections data, and so we setup a specific GUID-based URL for them. In theory, I could add search, but I won't as I prefer allowing users to decide whether to share this data or not themselves.
-
Copy
.env.example
to.env
and change the following:DISCORD_CLIENT_ID/SECRET
- Add the credentials you've registered at Discord Developer Portal for a new applicationsSECRET_KEY
- follow instructions at https://flask.palletsprojects.com/en/1.0.x/config/#SECRET_KEY about good values for this
-
flask db upgrade
to setup the database -
OAUTHLIB_INSECURE_TRANSPORT=1 FLASK_DEBUG=1 flask run
to run the app
Wharf setup
- Add new app called 'Strife'
- Add a new Postgres database
- Set the following environment variables:
GITHUB_URL
: https://github.com/palfrey/strife.gitSECRET_KEY
: as per instructions for local setup
- Deploy!