-
Create and activate your virtual environment
conda create -n [yourenvname] python=3.9 source activate [yourenvname]
-
Clone the repository
git clone https://github.com/Kitsuya0828/Ochanoma-Booker.git cd Ochanoma-Booker
-
Install Python packages
pip install -r requirements.txt
-
Place the following files in the project root
file name contents .env.dev
Slack app tokens for the development environment .env.qa
Slack app tokens for the staging environment (optional) .env.prod
Slack app tokens for the production environment .env
scopes and ID for Google Calendar API google_calendar_key.json
keys for Google Calendar API iiclab_member.csv
List of Slack members' names and IDs -
Create Slack app using manifest
Manifests are YAML or JSON-formatted configurations bundles for Slack apps. With a manifest, you can use a UI or an API to create an app with a pre-defined configuration, or adjust the configuration of existing apps.
You can create an app from a manifest (
app_manifest.json
), and it requires only a few steps -
Run the app
env=dev python3 app.py # development # env=qa python3 app.py # staging # env=prod python3 app.py # production