1 01. Setup Development Environment
ismail başaran edited this page 2016-12-12 09:29:53 +02:00

Prerequisites

Python 3

  • Get Python version 3.4 or newer here
  • Also, install python developer packages via sudo apt-get install python3-dev

Add Repo

  • Add new source list to your computer from this file.

Some Dev Libs

  • sudo apt-get install python3-dev libffi-dev libssl-dev

Slixmpp

  • Install slixmpp via sudo apt-get install slixmpp

Paramiko

  • Install slixmpp via sudo apt-get install python3-paramiko

Psutil

  • Install slixmpp via sudo apt-get install python3-psutil (ver 4.2.*)

CpuInfo

  • Install slixmpp via sudo apt-get install python3-cpuinfo

Setup

  1. Clone Ahenk project by running https://github.com/Pardus-Kurumsal/ahenk.git
  2. Navigate to etc/ahenk/ahenk.conf file under the project directory and modify pluginfolderpath & receivefileparam properties if necessary.
  3. Create a soft link for configuration directory by typing sudo ln -s your/project/directory/ahenk/etc/ahenk/ /etc/ahenk
  4. If you are developing a plugin, you also need to point its path so that ahenk core can run it. To do this, you either have to modify pluginFolderPath property in /etc/ahenk/ahenk.conf OR create another soft link for the plugin via sudo mkdir -p /opt/ahenk && sudo ln -s /your/project/directory/ahenk-project-name/opt/ahenk/plugins/ /opt/ahenk/plugins