BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

Issues

Select view

Select search mode

 
26 of 26

Silent Install : Ability to bypass the installer via env variables

Description

At this point in time, once the contentbox cli installs a new site, the server is started, which kicks off the orm (creating the database) and calls the web installer for completion. The installer is in charge of then setting up the default site and the first administrator by requesting user input.

Have a way to bypass the web installer via env variables to allow for silent installs and avoid the security risk of having an open web installer.

We can also update the cli installer to allow for the following inputs. If one is used, then all the fields are mandatory.

  • Admin First Name

  • Admin Last Name

  • Admin Email

  • Admin Username

  • Admin Password

The installer cli will remove the contentbox-installer module as part of its deployment process, since we will be in silent mode.

The env variables we can use are to do a silent install can be:

 

Once ContentBox is active via the cb_active flag. Then these installer env variables will be ignored, as this denotes that the site has been setup already and configured for operation.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Sentry

Created October 2, 2021 at 12:07 AM
Updated December 12, 2023 at 11:17 AM

Activity

Show: