From 1236d34d2c136c980bcc4efda7b59514bcc0cf6d Mon Sep 17 00:00:00 2001 From: PhilipWafula Date: Wed, 30 Jun 2021 13:23:49 +0300 Subject: [PATCH] Update README for running import users under cic_ussd. --- apps/data-seeding/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/data-seeding/README.md b/apps/data-seeding/README.md index 11043675..1b9e645b 100644 --- a/apps/data-seeding/README.md +++ b/apps/data-seeding/README.md @@ -171,7 +171,11 @@ Then, in sequence, run in first terminal: In second terminal: -`python cic_ussd/import_users.py -v -c config out` +`python cic_ussd/import_users.py -v --ussd-host --ussd-port -c config out` + +In the event that you are running the command in a local environment you may want to consider passing the `--ussd-no-ssl` flag i.e: + +`python cic_ussd/import_users.py -v --ussd-host --ussd-port --ussd-no-ssl -c config out` @@ -199,6 +203,13 @@ If _number of users_ is omitted the script will run until manually interrupted. If you imported using `cic_ussd`, the phone pointer is _already added_ and this script will do nothing. +### Importing preferences metadata + +`node cic_meta/import_meta_preferences.js ` + +If you used the `cic_ussd/import_user.py` script to import your users, preferences metadata is generated and will be imported. + + ##### Importing pins and ussd data (optional) Once the user imports are complete the next step should be importing the user's pins and auxiliary ussd data. This can be done in 3 steps: