Skip to content
Etsu edited this page Oct 3, 2016 · 3 revisions

Welcome to the pidgeot wiki!

dev env preparation

add pidgey.py from https://github.com/E7su/pidgey

$ cd bot # change to concrete project

$ pip install virtualenv # read http://www.unix-lab.org/posts/virtualenv/

$ virtualenv venv # create virtual environment in project dir # this directory should never be commited to git # so it's just added to .gitignore file

$ source venv/bin/activate # activate virtual environment

$ pip install -r requirements.txt # install required packages to isolated environment

setup dev env

$ source venv/bin/activate # activate virtual environment export TELEGRAM_TOKEN=1234567890 # add environment variable

ipython server.py # start bot

Clone this wiki locally