forked from F3Nation-Community/slackblast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-f3nation-community
33 lines (32 loc) · 1.51 KB
/
.env-f3nation-community
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# http://f3nation-community.slack.com/
#
# Use ngrok for local development so slack can post to your localhost.
# First get SLACK_BOT_TOKEN from slack url below and save into .env-f3nation-community
# Then run slackblast:
# > cp .env-f3nation-community .env
# > pip install -r requirements.txt
# > gunicorn --bind=0.0.0.0 --timeout 600 app:app
#
# In another console, run:
# > ngrok http 8000
#
# Copy the ngrok web url and append "/slack/events", i.e., http://67fe5401791a.ngrok.io/slack/events
# and paste into F3nation-community slackblast in 3 places:
# https://api.slack.com/apps/A01V766GGG0/slash-commands? (Request URL)
# https://api.slack.com/apps/A01V766GGG0/interactive-messages? (both Request URL and Optioins Load URL)
SLACK_BOT_TOKEN=xoxb-XXXXXXXXX-XXXXXXXXX-XXXXXXXXXXXXXXX # Get token from https://api.slack.com/apps/A01V766GGG0/install-on-team?
SLACK_VERIFICATION_TOKEN=VNyT6DZQe8LsPYvs1dOl3yEa
SLACK_SIGNING_SECRET=3bd82b8f9b395188787c5d6b805d2e17
POST_TO_CHANNEL=True
# Options for CHANNEL are USER | THE_AO | channel-id example: C01DB7S04KH
# See README for more info
CHANNEL=THE_AO
# Email is to send backblast to Wordpress or user(s)
# See README for more info and fill in and uncomment the lines below
# EMAIL_TO=<[email protected]>
# these setting override using gmail as the mail server to send mail.
# EMAIL_SERVER=<your-smtp-server.com>
# EMAIL_SERVER_PORT=<server port number>
# EMAIL_USER=<[email protected]>
# EMAIL_PASSWORD=<login-password>
# EMAIL_OPTION_HIDDEN_IN_MODAL=False