summaryrefslogtreecommitdiff
path: root/UPGRADE.md
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-20 11:17:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-20 11:17:35 +0200
commitf00b5c8b2d62664224c7f96e1642fd64e3924a84 (patch)
treeacc33337b7fdfb682bcc14b9140478a1cabed3dd /UPGRADE.md
parentb2d13074b5f04d27470c444950ae3985209973e5 (diff)
downloadIshtar-f00b5c8b2d62664224c7f96e1642fd64e3924a84.tar.bz2
Ishtar-f00b5c8b2d62664224c7f96e1642fd64e3924a84.zip
Upgrade instructions (WIP)
Diffstat (limited to 'UPGRADE.md')
-rw-r--r--UPGRADE.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/UPGRADE.md b/UPGRADE.md
new file mode 100644
index 000000000..b6c73a35f
--- /dev/null
+++ b/UPGRADE.md
@@ -0,0 +1,41 @@
+v1 to v2.0
+----------
+
+Before upgrading to v2.0, update to the last v1 version. Then apply all
+databases migrations:
+
+```
+cd <application-path>
+./manage.py migrate
+```
+
+Upgrade to ishtar sources and fake initial migrations.
+
+```
+cd <application-path>
+./manage.py migrate --fake-initial
+```
+
+
+TODO: what is not done in theses migrations with fake-initials:
+
+```
+ishtar_common
+0001_initial.py
+
+archaeological_context_records/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_auto_20170414_2123.py 0004_views.py
+
+archaeological_files/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_finds/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_operations/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py 0003_views.py
+
+archaeological_warehouse/migrations/:
+0001_initial.py 0002_auto_20170414_2123.py
+
+```