Setting up your development environment

Warning

These directions may be out of date! This page needs to be consolidated with the Getting Started page on our wiki.

Static vs. Dynamic version

Apart from Python itself, KA Lite depends on a couple of python applications, mainly from the Django ecosystem. These dependencies can be installed in two ways:

  • Dynamic: Means dependencies are automatically installed through PIP as a separate software package accessible to your whole system. This is recommended if you run KA Lite and have internet access while installing and updating.
  • Static: Static means that KA Lite is installed with all the external dependencies bundled in. Use this method if you need to have KA Lite installed from offline media or if KA Lite’s dependencies are in conflict with the system that you install upon.

Virtualenv

You can install KA Lite in its very own separate environment that does not interfere with other Python software on your machine like this:

$> pip install virtualenv virtualenvwrapper
$> mkvirtualenv my-kalite-env
$> workon my-kalite-env
$> pip install ka-lite