JSON API for the Giza Archives Project TMS Database
- python 3.5+
- pip
- virtualenv
- elasticsearch 5 (does not yet work with elasticsearch 6)
- Java 8 for ES5 - see this matrix: https://www.elastic.co/support/matrix#matrix_jvm
- Install virtualenv
- Activate virtualenv
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.15.tar.gz
tar -xvf elasticsearch-5.6.15.tar.gz
./elasticsearch-5.6.15/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/artshumrc/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