Curation tool and record linkage code for AAC (http://linking.americanartcollaborative.org)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HybridJaccard
docs
linkage
static
templates
.gitignore
LICENSE
README.md
aac.sparql
app.py
config.py
dbMgr.py
hj_config.txt
oauth.py
packages.txt
threshold.txt
ui.py
ulan.sparql

README.md

Museum Link Verification

  1. Setup Virtual Environment for python 2.7.X. or 3.X.Y
pip install virtualenv
virtualenv <env name> --no-site-packages

Unix/Mac OS : 
source <env name>/bin/activate

Windows:
<env name>\scripts\activate
  1. Install dependent python packages using following command
pip install -r packages.txt

(Refer to http://stackoverflow.com/questions/22073516/failed-to-install-python-cryptography-package-with-pip-and-setup-py if there are any failures related to cryptography package) You might have to run following command

sudo apt-get install build-essential libssl-dev libffi-dev python-dev
  1. Install MongoDb and run the mongo server. (Ref: https://docs.mongodb.org/manual/installation/)
mongod --dbpath <any directory path that mongoDb should use to store data>
  1. Run the application using following command
python app.py (in normal cases)
python app.py -h (for help)
python app.py -u true -d true (when running for the first time)
python app.py -d true -n "saam npg" (to reset saam and npg datasets)
  1. Backup and restore MongoDb
mongodump --out /data/backup/
mongorestore /data/backup/