The installation of grpcio can be challenging, for that reason you might want to use conda. In that case, just go through the following steps
$ conda create --prefix venv
$ conda install --prefix venv pip
$ conda activate venv/
$ pip install -r requirements/dev.txt
$ export SDM_API_ACCESS_KEY=api-access-key
$ export SDM_API_SECRET_KEY=api-secret-key
$ export SDM_ADMINS=@admin1 # if multiple, use: @admin1 @admin2
See the subsessions about SDM_BOT_PLATFORM specific variables:
$ export SLACK_APP_TOKEN=slack-app-token
$ export SLACK_BOT_TOKEN=slack-bot-token
See Configure Slack
$ export SLACK_TOKEN=slack-token
See Configure Slack Classic Bot
$ export [email protected] # if multiple, use: [email protected] [email protected]
$ export AZURE_APP_ID=app-id
$ export AZURE_APP_PASSWORD=app-password
Before initialize errbot, you also need to Configure SDM.
$ mv config.py config.py.back
$ pip install errbot[slack]
$ mv config.py.back config.py
$ git submodule init
$ git submodule update
$ pytest # run tests
$ errbot # starts bot