A nosy Slack bot to track your daily workload. Tested on Python 3.5.
After install and start timekeeper, say @timekeeper help
on your Slack team.
- Linux (or Docker)
- Python 3.5
- pip
# Clone this repo and move into it
git clone https://github.com/ymizushima/timekeeper.git
cd timekeeper
# Setup Python virtual environment
python -mvenv env
source env/bin/activate
# Install dependencies
pip install -e .
# Configure environment variables
export SLACK_API_TOKEN='your Slack API token here'
export TIMEKEEPER_ERRORS_TO='your Slack username here'
# Run the bot
python bot.py
with docker-compose (recommended)
SLACK_API_TOKEN='your Slack API token here' TIMEKEEPER_ERRORS_TO='your Slack username here' docker-compose up -d
or with docker
# Start the built image at the first time
docker run -d -e SLACK_API_TOKEN='your Slack API token here' -e TIMEKEEPER_ERRORS_TO='your Slack username here' --name timekeeper ymizushima/timekeeper
# Just start the created container thereafter
docker start timekeeper
# Install extra dependencies
pip install tox
# Start the test runner
tox