- Python 3.9
- Poetry
-
Install python packages by
poetry install
. -
Create your slack app, install it to your slack workspace, and get the bot token and signing secret. For details, read the Slack official tutorial.
You can run a development server by the following command.
./scripts/run_dev_server.sh
The app is deployed to AWS AppRunner by using copilot
command.
cd backend
poetry run ./scripts/update_manifest.sh
copilot svc deploy
cd scheduler
poetry run ./scripts/deploy.sh
After the first deployment, properly configure the settings below. Follow the Slack official tutorial for details.
- Interactivity & Shortcuts Request URL
- Event Subscriptions Request URL
- Subscribed events
app_mention
message.channels
file_shared
- OAuth scopes
chat:write
files:write
files:read
search:read