diff -r 5b6aa12feaed -r a8b07497ae4b README.md --- a/README.md Sun Jun 24 02:25:12 2018 +0200 +++ b/README.md Sun Jun 24 03:39:26 2018 +0200 @@ -114,9 +114,9 @@ ### Elasticsearch -Some objects in Iconolab are indexed and searched using ElasticSearch. You need to configure Haystack (see dev.py.tmpl, HAYSTACK_CONNECTIONS) and run: +Some objects in Iconolab are indexed and searched using ElasticSearch. You need to configure the elasticsearch parameters (see dev.py.tmpl, ELASTICSEARCH_DSL) and run: - python manage.py rebuild_index + python manage.py search_index --rebuild ### 2. Python server @@ -178,4 +178,15 @@ - ```--collection-id```: the id of the collection to import into, it must already exist - * document the test import command : `python manage.py importimages --collection-json dossierImportMontauban/montauban_collection.json --metacategories-json dossierImportMontauban/montauban_metacategories_import.json --encoding "UTF-8" --delimiter "," dossierImportMontauban/ExportMontauban.csv` \ No newline at end of file + * document the test import command : `python manage.py importimages --collection-json dossierImportMontauban/montauban_collection.json --metacategories-json dossierImportMontauban/montauban_metacategories_import.json --encoding "UTF-8" --delimiter "," dossierImportMontauban/ExportMontauban.csv` + + +### defining a new version + +To define a new version, the following steps must be taken. +* if needed, refresh the `iconolab` version number in `src/setup.py`, in the key `install_requires`. +* check that the matching tag has been published in the `iconolab` mercurial repository. +* Update the version number in `src/iconolab_mcc/__init__.py` +* Create a mercurial tag that matches the new version number +* push the new commits and tag +