- Clone this repository
https://github.com/GeorgiyIzmailov/-slack-notification-bot.git
- Install dependencies
pnpm install
- Clone
.env
file
cat .env.sample >> .env
- Go to https://api.slack.com/apps
- Click on Create New App
- Select on From an app manifest
- Pick the desired worksapce
- Paste in the JSON file from
manifest.json
- Copy the Signing Secret in the App Credentials section to your
SLACK_SIGNING_SECRET
environment variable
- This token represents your bot.
- Go to
OAuth & Permissions
tab - Copy the "Bot User OAuth Token"
- paste into
SLACK_BOT_TOKEN
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_user_pass
POSTGRES_DB=your_db_name
POSTGRES_HOST=db_host
POSTGRES_PORT=db_port
pnpm generate
pnpm start