JSON API for the Giza Archives Project TMS Database
- python2.7
- pip
- virtualenv
- elasticsearch 1.7.5
- Install virtualenv
- Activate virtualenv
curl -L -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
tar -xvf elasticsearch-1.7.5.tar.gz
./elasticsearch-1.7.5/bin/elasticsearch -d
(-d forces elasticsearch to run in the background, you can drop that flag to have it run in the foreground)git clone https://github.com/rsinghal/giza.git
cd giza
pip install -r requirements.txt
offline_scripts/elasticsearch_setup.sh
python offline_scripts/run_all.py
python manage.py runserver
- View http://localhost:8000 or http://localhost:8000/sites/1175 in your browser