Skip to content

YishuiLi/textflows

 
 

Repository files navigation

Local installation of the TextFlows platform

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 textflows-env

For virtualenv

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

Clone the code

Obtain the url to your git repository.

git clone git@github.com:xflows/textflows.git

Install requirements

cd textflows
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

About

TextFlows is an open-source online platform for composition, execution, and sharing of interactive text mining and natural language processing workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 63.5%
  • Python 33.9%
  • Prolog 1.0%
  • JavaScript 0.9%
  • HTML 0.4%
  • C++ 0.2%
  • Other 0.1%