mirror of https://github.com/buster-so/buster.git
env vars
This commit is contained in:
parent
72c5eaa443
commit
4ab3ae97a2
|
@ -12,6 +12,7 @@ declare global {
|
|||
SLACK_INTEGRATION_ENABLED: string;
|
||||
SLACK_CLIENT_ID: string;
|
||||
SLACK_CLIENT_SECRET: string;
|
||||
SLACK_SIGNING_SECRET: string;
|
||||
SLACK_APP_SUPPORT_URL: string;
|
||||
SERVER_URL: string;
|
||||
NODE_ENV?: 'development' | 'production' | 'test';
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
# Slack Integration Testing - Simple Setup
|
||||
# Just 2 required variables to get started!
|
||||
|
||||
# Your bot token (starts with xoxb-)
|
||||
# Get it from: https://api.slack.com/apps → Your App → OAuth & Permissions → Bot User OAuth Token
|
||||
# Required scopes: channels:read, channels:manage, channels:join, chat:write, chat:write.public, channels:history
|
||||
SLACK_BOT_TOKEN=xoxb-your-bot-token-here
|
||||
|
||||
# A channel ID where the bot can send test messages
|
||||
# Get it by: Right-clicking any channel → View channel details → Scroll to bottom
|
||||
SLACK_CHANNEL_ID=C1234567890
|
||||
|
||||
# That's it! Run: npm run test:integration
|
||||
SLACK_CLIENT_ID=
|
||||
SLACK_CLIENT_SECRET=
|
||||
SLACK_SIGNING_SECRET=
|
|
@ -3,6 +3,9 @@ declare global {
|
|||
interface ProcessEnv {
|
||||
NODE_ENV?: 'development' | 'production' | 'test';
|
||||
// Add your environment variables here
|
||||
SLACK_CLIENT_ID: string;
|
||||
SLACK_CLIENT_SECRET: string;
|
||||
SLACK_SIGNING_SECRET: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue