Even more detail in services description readme

This commit is contained in:
nolash 2021-04-08 10:09:13 +02:00
parent e3faa2ec3c
commit e33aa90823
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -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 ### 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: If you are importing using `eth` and _not_ importing metadata, then the only service you need running in the cluster is:
* eth * eth
@ -51,6 +58,23 @@ In all other cases you will _also_ need:
* postgres * postgres
* redis * 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: If importing using `cic_eth` or `cic_ussd` also run:
* cic-eth-tasker * cic-eth-tasker
* cic-eth-dispatcher * cic-eth-dispatcher
@ -65,6 +89,7 @@ If metadata is to be imported, also run:
* cic-meta-server * cic-meta-server
### Step 3 - User imports ### Step 3 - User imports
Only run _one_ of the following. Only run _one_ of the following.