parent
b8c6cc2ddf
commit
ac85a81bd1
@ -1,13 +1,9 @@ |
||||
# Command line to dump |
||||
|
||||
FinancialType |
||||
PaymentProcessor |
||||
ContributionPage |
||||
Contact |
||||
Relationship |
||||
Group and Field tables |
||||
OptionValue and OptionGroup |
||||
|
||||
Resources urls and directories (sysetm settings) |
||||
|
||||
# Command line to load above dump |
||||
- Needs working local CiviCRM from caat-crm-installer |
||||
- In confdump path, `virtualenv confdump.venv` |
||||
- Load the virtualenv `. confdump.venv/bin/activate` |
||||
- Install pre-dependencies for MySQL client https://pypi.org/project/mysqlclient/ on dpkg based linuce: `python3-dev default-libmysqlclient-dev build-essential` |
||||
- Install requirements `pip -i requirements.txt` |
||||
- Fill out example.env 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/. |
||||
- Load data into running local instance with: `python confdump.py mysql -i mydata/ -p 63306` |
||||
- Clear the cache in CiviCRM from the caat-crm-installer directory with `make shell`, and then inside `cd /app; ./vendor/bin/drush cc all` |
||||
|
@ -0,0 +1,2 @@ |
||||
CIVICRM_USERNAME=yourusername |
||||
CIVICRM_PASSWORD=yourpassword |
@ -0,0 +1,3 @@ |
||||
-e git+https://git.autonomic.zone/cas/civicrmapi4#egg=civicrmapi4 |
||||
phpserialize |
||||
mysqlclient~=1.4.6 |
Loading…
Reference in new issue