Skip to content

krishnasamudrala-tal/dedupe-api

Repository files navigation

Dedupe API

Build Status

Coverage Status

Repository for Enterprise Dedupe API

Setup

Install OS level dependencies:

Install app requirements

git clone git@github.com:datamade/dedupe-api.git
cd dedupe-api
pip install "numpy>=1.6"
pip install -r requirements.txt

Create a PostgreSQL database for dedupeapi. (If you aren't already running PostgreSQL, we recommend installing version 9.3 or later.)

createdb dedupeapi

Create your own app_config.py file:

cp api/app_config.py.example api/app_config.py

You will want to change, at the minimum, the following app_config.py fields:

  • DB_CONN: edit this field to reflect your PostgreSQL username, server hostname, port, and database name.

  • DEFAULT_USER: change the username, email and password on the administrator account you will use on Plenario locally.

Before running the server, Redis.

  • To start Redis locally (in the background):
redis-server &

Initialize the dedupe-api database:

python init_db.py

Finally, run the queue and server:

nohup python run_queue.py &
python runserver.py

Once the server is running, navigate to http://localhost:5000/

Community

About

Repository for Enterprise Dedupe API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published