Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5059

Installer: Allow 1st staff user to be created via CLI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.10.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      Ok to bump to 5.11 if necessary.

      Right now Blesta can be installed via CLI:

      php ./index.php install -dbhost DATABASE_HOST -dbport DATABASE_PORT -dbname DATABASE_NAME -dbuser DATABASE_USER -dbpass DATABASE_PASS -hostname WEBSITE_HOSTNAME -docroot DOCUMENT_ROOT_PATH

      But creating the first staff account is a manual process. The user must visit the installation and fill out the following details:

      • License Key: Enter Key or select to start a free trial
      • First Name
      • Last Name
      • Email
      • Username
      • Password
      • Confirm Password

      If we add parameters for these fields, the installer could complete the entire installation and the user can simply log in. A few notes:

      • license_key (If not provided, fetch a free trial. If provided, use that key)
      • first
      • last
      • email
      • username (if not provided, default to admin)
      • password (only need to ask for this once)

      If there is a license issue, that should be suppressed until the user tries to login and shouldn't prevent the creation of the staff account.

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Apr/24

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 4 hours, 54 minutes
              1d 4h 54m

                Agile