Setting up Perch with a custom config
Is it possible to setup a site when I already have the config file built? In short, because we setup a couple Perch sites a month, we have a config that works for us along with a separate config (required in the main config) that contains the secrets (such as db password) and is not included in the repo (so it can easily be different on local/dev/staging/production/etc).
If I run the setup process, (1) doesn't load the existing config (thus ignore the db settings or perch licence pages) and (2) overwrites the existing files.
Is there a way to just run the DB and user creation portions of the setup?
It seems that I could run the code in
setup/sql/perch.sql (but would need to replace
__PERCH_VERSION__ so that seems ugly) but this wouldn't setup the user (and thus password hashing).