Linspector - Installation Guide
Table of contents
- Added: 2013.09.30 by Johannes Findeisen (hanez)
- Last update: 2013.11.03 by Johannes Findeisen (hanez)
- License: CC Attribution-Share Alike 3.0 Unported
Introduction
Here we show you how easy it is to install Linspector.
Get Linspector
Go to the Linspector download page and download the latest package as zip or tar.gz file and extract it.
Then switch to the new linspector directory:
cd linspector-VERSION
Requirements
You need at least Python 2.7.* and the APScheduler library to run Linspector. We recommend to install Python using your package manager. Libraries are very easy to install using the Python package manager pip. Just install pip from your systems package manager and run the following command:
pip install apscheduler
All dependencies are being resolved and everything needed will be installed.
To install all libraries Linspector is using - even the optionally libraries - you can do this by running the following command from the root of the Linspector source tree:
pip install -r requirements.txt
"requirements" is a text file provided by Linspector. When doing it this way you can be sure installing working versions of the libraries.
Run Linspector
Running Linspector is very easy.
Since Linspector currently is a little bit broken you need to set the $PYTHONPATH to make sure imports of libs are working:
export PYTHONPATH=`pwd`
Then you only need to run the following command:
./bin/linspector path/to/config.json
Since we have not created a config file yet you need to configure Linspector to really get it up running. Read the Minimal Configuration Guide for that.