Commit 310973ec by Oleg Marshev

Add make command.

parent a481a492
...@@ -31,3 +31,6 @@ diff-quality: ...@@ -31,3 +31,6 @@ diff-quality:
diff-quality --violations=pylint --html-report coverage/diff_quality_pylint.html diff-quality --violations=pylint --html-report coverage/diff_quality_pylint.html
coverage: diff-coverage diff-quality coverage: diff-coverage diff-quality
create-index:
python manage.py create_index
...@@ -7,4 +7,4 @@ def set_es_settings(): ...@@ -7,4 +7,4 @@ def set_es_settings():
Overwrite default annotator-store elasticsearch settings. Overwrite default annotator-store elasticsearch settings.
""" """
es.host = getattr(settings, 'ELASTICSEARCH_URL', 'http://localhost:9200') es.host = getattr(settings, 'ELASTICSEARCH_URL', 'http://localhost:9200')
es.index = getattr(settings, 'ELASTICSEARCH_INDEX', 'edx-notes-dev') es.index = getattr(settings, 'ELASTICSEARCH_INDEX', 'edx-notes')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment