From e33aa908238cf99a3ec7fa2ab88049d447d411a9 Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 8 Apr 2021 10:09:13 +0200 Subject: [PATCH] Even more detail in services description readme --- apps/contract-migration/scripts/README.md | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/apps/contract-migration/scripts/README.md b/apps/contract-migration/scripts/README.md index bfa23d2e..432fe054 100644 --- a/apps/contract-migration/scripts/README.md +++ b/apps/contract-migration/scripts/README.md @@ -44,6 +44,13 @@ If you want to use a `import_balance.py` script to add to the user's balance fro ### Step 2 - Services +Unless you know what you are doing, start with a clean slate, and execute (in the repository root): + +`docker-compose down -v` + + +#### Base requirements + If you are importing using `eth` and _not_ importing metadata, then the only service you need running in the cluster is: * eth @@ -51,6 +58,23 @@ In all other cases you will _also_ need: * postgres * redis + +#### EVM provisions + +This step is needed in *all* cases. + +`RUN_MASK=1 docker-compose up contract-migration` + + +#### Custodial provisions + +This step is _only_ needed if you are importing using `cic_eth` or `cic_ussd` + +`RUN_MASK=2 docker-compose up contract-migration` + + +#### Custodial services + If importing using `cic_eth` or `cic_ussd` also run: * cic-eth-tasker * cic-eth-dispatcher @@ -65,6 +89,7 @@ If metadata is to be imported, also run: * cic-meta-server + ### Step 3 - User imports Only run _one_ of the following.