Skip to content

eoglethorpe/deep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Data Entry and Exploration Platform

DEEP is a humanitarian tool to collect and analyze secondary data from various publications such as websites and PDF reports.

Public API

Data collected by DEEP is currently publicly available. Read the documents for details on how to use it.

Deployment

Requirements

  • Python >= 3.4
  • Django >= 1.9

Installation

First setup a virtual environment.

$ sudo apt-get install python3.4-venv
$ virtualenv ~/deepenv
$ . ~/deepenv/bin/activate

Install missing packages.

$ apt-get install libjpeg-dev libmysqlclient-dev

Copy or clone the project to a directory and cd into it.

Next you can use setup.py or pip to install remaining dependancies:

$ python setup.py install
or
$ pip install -r requirements.txt

Migration

A MySQL database is required to use DEEP. Create one if it doesn't exist.

Create a file 'mysql.cnf' and enter the database details as follows:

[client]
database = DATABASE_NAME
host = localhost
user = USERNAME
password = PASSWORD
default-character-set = utf8

Migrate all database schema changes:

$ python manage.py migrate

Test

Test run the web server:

$ python manage.py runserver

By default, the server should run at localhost:8000. Test the website locally by browsing to this address.

The website is then ready to be deployed.

Chrome Extension

Installation

Chrome Store

You can open the options page of the extension, to change server url and read usage guide.

About

Data Entry and Extraction Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published