## Ensure that all your stuff is clean/committed.
git scan status
## Update git repos. Choose ONE of:
git scan up
./bin/givi checkout X.Y.Z
## Regenerate data. Choose ONE of:
civibuild reinstall dmaster
./bin/setup.sh -Dg && drush civicrm-upgrade-db
Checking the git repos
There are ...
So I figured out the real problem is that I created a build using mysql_ram_disk instead of mysql_dsn in amp config- meaning the mysql database is in RAM, and of course disappears when I turn off my laptop :) .
Update: BuildKit currently cannot build Drupal 8 sites because of the composer requirement.
To build a Drupal 8 Clean site with CiviBuild you would use the command:
Note: CiviBuild cannot currently build Drupal 8 sites with the demo data.
civibuild create d8-master or civibuild create <NAME> --type drupal8-clean
Note: This will create a Civi '...
What build type are you using, Erik?
The translation files are included in drupal-demo but are commented out in drupal-clean.
Uncommenting the line:
# extract-url --cache-ttl 172800 civicrm=http://download.civicrm.org/civicrm-l10n-core/archives/civicrm-l10n-daily.tar.gz
in app/config/drupal-clean/download.sh in your local buildkit will mean that ...
This is https://issues.civicrm.org/jira/browse/VOL-299
The workaround documented there works.
Connect to your MySql server as root
Run these two statements
SET sql_mode = '';
SET GLOBAL sql_mode = '';
Two options: 1) edit your own buildkit script or 2) prepare a PR for buildkit and convonce Tim seven is a lot more useful than Bartik; I'll second that!
A third could be a config option; 3) PR a change to buildit where the theme you like become a config option when running amp config
Just found the fix that my postfix was not running.
I had to do a sudo postfix start which resulted in a number of warnings with final output
postfix/postfix-script: starting the Postfix mail system
After this I retried running the civibuild install
civibuild install "civiwpbuild" --url "http://localhost:4000" --admin-pass "XXXXXXXXXX"
and it worked.
It looks like like perhaps you are developing your extension within a normal CiviCRM installation instead of a development installation. If this is the case, you'll need to set up a development installation in order to get the xml folder (and other things too).
The best way to set up a development installation is to use the civibuild tool which you will ...
tldr: It's safe but mildly annoying. Please feel free to send a pull-request to update these files.
Longer: DAO files are auto-generated when civibuild calls the script xml/GenCode.php with the data in xml/schema. However, running GenCode is traditionally pretty slow -- even on a fast workstation, it can add 30 seconds to the build-time.
Starting somewhere ...