Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 1 commit ahead, 2 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
alembic
js
lost_tracker
schema
wsgi
.gitignore
MANIFEST.in
README.rst
alembic.ini
app.ini.dist
babel.cfg
fabfile.py
load_from_googledoc.sql
plovr-config.js
setup.py
tmux-serve.bash

README.rst

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_.

Something went wrong with that request. Please try again.