A Python Wrapper for Challonge Brackets in Elasticsearch
- virtualenv
- elasticsearch
- challonge data (see here)
~/$ git clone https://github.com/patrickstocklin/pychallongesearch.git
~/$ virtualenv --no-site-packages pychallongesearch
~/$ cd pychallongesearch
#Initial Virtualenv Setup
~/pychallongesearch$ source .env
(pychallongesearch)~/pychallongesearch$ pip install -r requirements.txt
~/pychallongesearch$ source .deactivate-env
~/pychallongesearch$ source ./scripts/create_local_environment.sh
Elasticsearch Health Check
(pychallongesearch)~/pychallongesearch$ source ./scripts/health_check.sh
(pychallongesearch)~/pychallongesearch$ python [driver.py]
(pychallongesearch)~/pychallongesearch$ source ./scripts/run_unit_tests.sh
(pychallongesearch)~/pychallongesearch$ source ./scripts/teardown_local_environment.sh
Disaster Scenario (Killed Elasticsearch Cluster)
(pychallongesearch)~/pychallongesearch$ source ./scripts/destroy_elasticsearch_cluster.sh