01. Setup Development Environment - Pardus-LiderAhenk/ahenk GitHub Wiki
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
- Clone Ahenk project by running
https://github.com/Pardus-Kurumsal/ahenk.git
- Navigate to
etc/ahenk/ahenk.conf
file under the project directory and modify pluginfolderpath & receivefileparam properties if necessary. - Create a soft link for configuration directory by typing
sudo ln -s your/project/directory/ahenk/etc/ahenk/ /etc/ahenk
- 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