Skip to content

slackapi/bolt-python-getting-started-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started ⚡️ Bolt for Python

Slack app example from 📚 Getting started with Bolt for Python

Overview

This is a Slack app built with the Bolt for Python framework that showcases responding to events and interactive buttons.

Running locally

1. Setup environment variables

# Replace with your tokens
export SLACK_BOT_TOKEN=<your-bot-token>
export SLACK_APP_TOKEN=<your-app-level-token>

2. Setup your local project

# Clone this project onto your machine
git clone https://github.com/slackapi/bolt-python-getting-started-app.git

# Change into this project
cd bolt-python-getting-started-app/

# Setup virtual environment
python3 -m venv .venv
source .venv/bin/activate

# Install the dependencies
pip install -r requirements.txt

3. Start servers

python3 app.py

More examples

Looking for more examples of Bolt for Python? Browse to bolt-python/examples/ for a long list of usage, server, and deployment code samples!

Contributing

Issues and questions

Found a bug or have a question about this project? We'd love to hear from you!

  1. Browse to slackapi/bolt-python/issues
  2. Create a new issue
  3. Mention that you're using this example app

See you there and thanks for helping to improve Bolt for everyone!

About

Getting Started Slack app using ⚡️ Bolt for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages