From a91879cc0857b5b3d9339108c556cd0378d3a007 Mon Sep 17 00:00:00 2001 From: naomi Date: Wed, 23 Mar 2022 17:53:50 +0000 Subject: [PATCH] fixed error in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 566af8a..3cdf66c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - Install requirements `pip install -r requirements.txt` - `cp example.env .env` - Edit `.env` and add creds for the production, test or development server you'll retrieve the data from. -- Execute dump to retrieve base data: `env $(cat example.env) python ./confdump.py dump -o mydata INSTANCEPATH` where INSTANCEPATH is something like https://crm.dev.caat.org.uk/. +- Execute dump to retrieve base data: `env $(cat .env) python ./confdump.py dump -o mydata INSTANCEPATH` where INSTANCEPATH is something like https://crm.dev.caat.org.uk/. - **IMPORTANT!!** - If you sourced the data from live, you must delete the `.env` file or delete the creds from inside it. If you leave them in it will negate the whole purpose of having this conf dump utility, which is to provide a way of creating a local site without any sensitive data. - If your civicrm is in a docker container, load data into running local instance with: `confdump.py mysql -i mydata/ -p 63306` - Otherwise use `confdump.py mysql -i mydata/ --host= --db= --user= --password=`