Installation - Support "activate first" w/setup UI #121
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This adds support for installing CiviCRM-Backdrop through the Setup API. Most notable changes:
install/index.php
entry-point)Before
The sysadmin downloads the CiviCRM module - but they must not install it. Instead, navigate to this path:
This is a special, standalone entry-point.
After
After downloading the CiviCRM module, you simply enable it like any module. Then use any link to open a CiviCRM page (e.g. there are links in the post-install status-message and in the main menu). The page will display the setup screen.
Slightly better demo: http://think.hm/tmp/Backdrop-Civicrm-Setup.mp4
Technical Details
civicrm.settings.php
). Most already do - there were just a couple oddballs.civicrm/*
URLs. If CiviCRM cannot initialize, then show the civicrm-setup web installer.r-run
ning, here are some of things that I tried:cv core:install -vv --cms-base-url=http://bcmaster.bknix:8001
), with thecivicrm.module
enabled or disabledcivibuild
with thebackdrop-clean
type - ie hackapp/config/backdrop-clean/install.sh
to skip the scriptedcivicrm_install
, etal. Then runcivibuild create bcmaster
orcivibuild reinstall bcmaster
)civibuild snapshot bcmaster
). (This way my login-session is part of the snapshot.)./bin/cv.phar core:uninstall -f ; civibuild restore bcmaster ; rm -rf ~/bknix/build/bcmaster/web/files/civicrm/