Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A web based data mining workflow platform with real-time analysis capabilities
Groff Python Prolog JavaScript HTML C++ Other
branch: master

README.md

Local installation of the Mothra project

Prerequisites

  • python >= 2.5
  • pip
  • virtualenv/wrapper (optional)
  • python headers if you're compiling Pillow from source: you need the python-dev package on debian systems

Installation

Creating the environment

Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.

For virtualenvwrapper

mkvirtualenv --no-site-packages mothra-env

For virtualenv

virtualenv --no-site-packages mothra-env
cd mothra-env
source bin/activate

Clone the code

Obtain the url to your git repository.

git clone git@source.ijs.si:kt/mothra.git

Install requirements

cd mothra
pip install -r requirements.txt

Configure project

cp mothra/__local_settings.py mothra/local_settings.py
vi mothra/local_settings.py

Enable workflow packages

Uncomment the packages that you need in mothra/local_settings.py in the INSTALLED_APPS_WORKFLOWS_SUB tuple.

Sync database

Say "no" to creating a super-user when prompted. You'll create the user after migrations.

python manage.py syncdb --noinput

Migrate database

python manage.py migrate

Create super-user

python manage.py createsuperuser

Import packages

python manage.py import_all

Running

python manage.py runserver

Running with debugger

python manage.py runserver_plus

Open browser to http://127.0.0.1:8000

Something went wrong with that request. Please try again.