README.md
changeset 78 37bb8e326446
parent 45 8d2fb4ec85d7
--- a/README.md	Tue Oct 28 15:31:55 2014 +0100
+++ b/README.md	Tue Oct 28 18:11:16 2014 +0100
@@ -1,14 +1,19 @@
 
 # Mons software suite
 
-To create the virtualenv:
+- To create the virtualenv:
 
 ```
 STATIC_DEPS=true pip install -r requirements.txt
 ```
 
-Usage for export_annotations.py:
+- Usage for export_annotations.py:
 
 ```
 python export_annotations.py -a http://localhost:8080/p/api/annotation -b http://localhost/~ymh/platform/ldtplatform/ -p  <project_guid> -E test -H ANNOT -v -v -s "2014-06-19T12:14:48+02" -R -P "{\"username\": \"<username>\",\"api_key\":\"<username api key>\"}"
 ```
+
+- Alembic usage
+  - upgrade: `alembic upgrade head`
+  - migrate an existing database : `alembic stamp 3c78152eb874` then `alembic upgrade head`
+  - Create empty database: launch application then `alembic stamp head`