-
Notifications
You must be signed in to change notification settings - Fork 0
Description
In env.php, add a new parameter called is_installed, which is defaulted to 0.
In bootstrap.php, after the require of env.php, add a check for is_installed. If false, display the easy install page and stop processing bootstrap.php
==========
Easy Install Page (www/setup/install.php) - collect the following information
- Base Config: mode, base url, config name
- Error Handling
- MySQL connection
- Caching (file vs redis connection)
- Admin Username / Password - AvidBase Connection
Go through each step with this UI: https://adminlte.io/themes/v3/pages/examples/recover-password.html
Upon submission, test the MySQL connection, ability to write to the selected cache, test the AvidBase connection, then write the basic conf file to disk, then redirect to the Config Selection Page.
==========
Config Selection Page (www/setup/config_setup.php)
In a dropdown, show the folder names from conf and allow the selection of one.
Upon submission, write conf.php, then delete the setup directory, then redirect to the admin login page.