Skip to content
Snippets Groups Projects
Tim Otten's avatar
totten authored
Overview
--------

This is a small refactoring in service of the broader goal of simplifying
the sample-data generation and incorporating it into the installer (where it
can be localized/configured and where we don't have to commit any blobs).

The current process revolves around `regen.sh` and `civicrm_generated.mysql`.

Before
------

`regen.sh` builds an example DB and dumps the content into `civicrm_generated.mysql`.

As part of this, it loads `zipcodes.mysql` into the example DB,
drops/creates a table `zipcodes`, then runs some setup work,
and then re-drops `zipcodes`.

This is only safe on an isolated database. If you're trying to run it on
a pre-existing database created by `$cms`, then you don't know if there's going
to be a conflict on `zipcodes`.

After
-----

It doesn't drop/create/drop the `zipcodes` table. It just reads from the file.

Comment
-------

The main change is fairly small.  It looks big because `zipcodes.mysql` as
to be reformatted as `zipcodes.json`.
6a87cb93
History

Welcome to CiviCRM

About

CiviCRM is a constituent relationship management system designed to meet the needs of advocacy, non-profit and non-governmental groups. It is an open source project, licensed under GNU AGPL 3, and coordinated by CiviCRM LLC. The project website is https://civicrm.org/

CiviCRM is released as a module that runs within the Drupal, Joomla, and WordPress content management systems.

Installation

The download URLs and installation instructions are available on our website: https://civicrm.org/download

Detailed installation instructions can be found in our sysadmin guide.

Documentation

Documentation can be found at https://docs.civicrm.org

Support

Answers for users, administrators & integrators: http://civicrm.stackexchange.com

Paid support available from https://civicrm.org/providers

Development and Bugs

Developers are highly encouraged to join chat.civicrm.org and post questions and ideas in the Developer Discussion room.

Installing the latest developmental code requires some special steps.

Report all issues to CiviCRM via GitLab: https://lab.civicrm.org/