Repository for Enterprise Dedupe API
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/
- Dedupe Google group
- IRC channel, #dedupe on irc.freenode.net