Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (48 sloc) 2.005 kB

Tracker for Lost in the Darkness

INSTALLATION

Note

I recommend using virtualenv, but nothing prevents you installing it into the root system

Requirements

When installing this package, it will build the MySQL and Postgres clients. So you'll need the necessary headers, plus gcc on your machine.

For Ubuntu, run the following:

sudo apt-get install libmysqlclient-dev libpq-dev python-dev \
                     build-essential

Installation procedure

  • Download the latest package from http://www.github.com/exhuma/lost-tracker I recommend using the latest tagged version, but if you want bleeding edge, you may also download the "master" branch.

  • untar the package:

    tar xzf exhuma-lost-tracker-<version number+hash>.tar.gz
    
  • enter the folder:

    cd exhuma-lost-tracker-<version number+hash>
    

When not using virtualenv, you may skip this section

Note

If you don't have virtualenv, run the following:

sudo apt-get install python-setuptools && easy_install virtualenv

  • create a virtualenv:

    virtualenv --no-site-packages /path/to/your/env
    
  • activate the environment:

    source /path/to/your/env/bin/activate
    

Without virtualenv

  • run the installer:

    python setup.py install
    

Database initialisation

To initialise the database run the following commands:

# export MAMERWISELEN_LOST_TRACKER_PATH="/path/which/contains/app.ini"
# ./env/bin/alembic upgrade head

Note

The environment variable should point to the path containing app.ini. Not the filename itself!

Configuration

Configuration is handled using ini style config files. An example file is given in app.ini.dist.

The file is looked up using config_resolver_.

Jump to Line
Something went wrong with that request. Please try again.