From 55795f9ea8a2a2907fb73e2080885bf3979581f9 Mon Sep 17 00:00:00 2001 From: Jason Moore Date: Wed, 15 Jan 2025 11:14:25 +0800 Subject: [PATCH] Update migration_steps.md --- migration_steps.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/migration_steps.md b/migration_steps.md index 2a283411..cbf22c56 100644 --- a/migration_steps.md +++ b/migration_steps.md @@ -33,8 +33,19 @@ vi venv/lib/python3.12/site-packages/reversion/migrations/0001_squashed_0004_aut ./manage_ml.py loaddata mooringlicensing/fixtures/mooring_mooring_bay.json ./manage_ml.py loaddata mooringlicensing/fixtures/ml_fixtures.json ``` - -## Step 5 run migrations script + +## Step 5 Run Migration Clean Script + +Add environment variables +LOTUS_NOTES_PATH = Location of unclean migration data +MIGRATION_DATA_PATH = Output directory for cleaned migratrion data +![image](https://github.com/user-attachments/assets/583087a9-2719-495c-b8a6-70fa0473e260) + + +``` +python manage_ml.py import_lotus_notes +``` +## Step 6 run migrations script ``` python ./manage_ml.py ml_migration_script --path ~/datamigration/outpath04122024/ >> ~/datamigration/outpath04122024/migration_run_08012024.log 2>&1