Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,26 @@ You may want to fine tune the installation using:
- a `systemd service definition file <https://wiki.archlinux.org/index.php/Systemd>`_;
- any system service monitoring daemon.

Windows
-------

You need to manually install python-ldap, and pywin32 (which provides win32pdh). The easiest way to install python-ldap is from `Christoph Gohlke <https://www.lfd.uci.edu/~gohlke/pythonlibs/>`_'s prebuilt binaries.

Download **python_ldap‑3.2.0‑cp27‑cp27m‑win_amd64.whl** from https://www.lfd.uci.edu/~gohlke/pythonlibs/
::
cd <download_folder>
pip install python_ldap-3.2.0-cp27-cp27m-win_amd64.whl
pip install pywin32

Then install coalition's dependencies with pip
::
git clone https://github.com/MercenariesEngineering/coalition.git
cd coalition
pip install -r requirements.txt
cp _coalition.ini coalition.ini

Edit the section [server] in the file coalition.ini according to your needs.

coalition.ini configuration file
--------------------------------
This configuration file contains two sections: **[server]** that will be used in server mode, and **[worker]** that will be used while running in worker mode.
Expand Down
2 changes: 2 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from email.mime.text import MIMEText
from textwrap import dedent, fill

import pymysql
pymysql.install_as_MySQLdb()
from db_sqlite import DBSQLite
from db_mysql import DBMySQL
from db_sql import LdapError
Expand Down