Getting Started with Core Development


This article is only useful to the developers interested in developing the Ajenti core itself. For plugin/extension development, see Getting started with plugin development

Required knowledge

  • Python 3.x
  • async programming with gevent
  • HTML
  • CoffeeScript (with AngularJS)
  • LESS


The following is the absolutely minimal set of software required to build and run Ajenti:

  • git
  • bower, babel, babel-preset-es2015 and lessc (from NPM)

Debian/Ubuntu extras:

  • python3-dbus (ubuntu)

Setting up

Download the source:

git clone git://

Install the dependencies:

# Debian/Ubuntu
sudo apt-get install build-essential python3-pip python3-dev python3-lxml libffi-dev libssl-dev libjpeg-dev libpng-dev uuid-dev python3-dbus``

sudo dnf install gcc python3-devel python3-pip libxslt-devel libxml2-devel libffi-devel openssl-devel libjpeg-turbo-devel libpng-devel dbus-python

sudo pip3 install -r ajenti-core/requirements.txt
sudo pip3 install ajenti-dev-multitool

sudo npm install -g coffee-script less bower

Download and install Bower dependencies:

make bower

Ensure that resource compilation is set up correctly and works (optional):

make build

Launch Ajenti in dev mode:

make rundev

Navigate to http://localhost:8000/.


Changes in CoffeeScript and LESS files will be recompiled automatically when you refresh the page; Python code will not. Additional debug information will be available in the console output and browser console. Reloading the page with Ctrl-F5 (Cache-Control: no-cache) will unconditionally rebuild all resources


comments powered by Disqus