Installing and running on Windows¶
There instructions are for setting up a Sevabot to run on Windows
These instructions are mostly useful for Sevabot development and testing and not for actual production deployments.
Install Skype for Windows normally. Don’t install the Metro version on Windows 8. Create your Skype user.
Install latest Python 2.X x86 version and add the installation folder to your PATH environment variable
Sevabot is deployed as Python virtualenv installation. Use Powershell x86 version to perform the following steps
sevabot using virtualenv:
git clone git://github.com/opensourcehacker/sevabot.git cd sevabot powershell -NoProfile -ExecutionPolicy unrestricted -Command "add-content -path virtualenv.py -value(new-object net.webclient).DownloadString('https://raw.github.com/pypa/virtualenv/master/virtualenv.py')" python virtualenv.py venv set-executionpolicy unrestricted . .\venv\Scripts\activate.ps1 python setup.py develop
- Pull all Python package dependencies from pypi.python.org
- Create a scripts under
venv/bin/to run Sevabot
If you want to live dangerously you can use git dev branch where all the development happen.
Customize Sevabot settings:
# Create a copy of settings.py cp settings.py.example settings.py
Setup your Skype admin username and HTTP interface password by editing
When you launch it for the first time you need to accept the confirmation dialog in the desktop environment
There might be a lot of logging and stdout output when the bot starts and scans all the chats of running Skype instance.
Eventually you see in the console:
Running on http://127.0.0.1:5000/
Sevabot server interface is listening to port 5000. This interface offers
- Chat list (you need to know group chat id before you can send message into it)
- Webhooks for integrating external services
Just access the Sevabot server by going with your web browser to: