Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.
/ jarvis Public archive

J.A.R.V.I.S., a Python Slackbot

Notifications You must be signed in to change notification settings

TheKevJames/jarvis

Repository files navigation

Jarvis

A Python Slackbot.

Usage

First, set up a bot user on your slack instance. His name should be jarvis and you should use this icon.

With his API token exported to your terminal as SLACK_TOKEN (instructions for Windows and Linux / OSX), run:

docker-compose build         # or docker-compose pull
docker-compose run bot init
docker-compose up -d

Make sure to keep your db/jarvis.db somewhere safe!

Keeping Jarvis Updated

Updating Jarvis to any version post 2.0.0 is simple! To build from a specific commit (or from HEAD), run:

git pull
git checkout <version>  # optional
docker-compose build
docker-compose up -d

Or, to avoid building locally, use Docker Hub:

docker-compose pull
docker-compose up -d

DO NOT run docker-compose run bot init again, unless you want to wipe out all of Jarvis' data.