[PR #504] [MERGED] Web Installer #798

Closed
opened 2026-02-05 17:54:42 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/504
Author: @Boy132
Created: 7/23/2024
Status: Merged
Merged: 8/3/2024
Merged by: @Boy132

Base: mainHead: feature/install-process


📝 Commits (10+)

📊 Changes

17 files changed (+778 additions, -131 deletions)

View changed files

📝 .env.example (+1 -0)
📝 app/Console/Commands/Environment/AppSettingsCommand.php (+14 -121)
app/Console/Commands/Environment/CacheSettingsCommand.php (+68 -0)
app/Console/Commands/Environment/QueueSettingsCommand.php (+66 -0)
app/Console/Commands/Environment/SessionSettingsCommand.php (+69 -0)
app/Filament/Pages/Installer/PanelInstaller.php (+144 -0)
app/Filament/Pages/Installer/Steps/AdminUserStep.php (+31 -0)
app/Filament/Pages/Installer/Steps/DatabaseStep.php (+95 -0)
app/Filament/Pages/Installer/Steps/EnvironmentStep.php (+94 -0)
app/Filament/Pages/Installer/Steps/RedisStep.php (+42 -0)
app/Filament/Pages/Installer/Steps/RequirementsStep.php (+87 -0)
📝 app/Providers/AppServiceProvider.php (+11 -0)
📝 app/Providers/Filament/AdminPanelProvider.php (+0 -10)
app/Traits/Commands/RequestRedisSettingsTrait.php (+37 -0)
📝 app/helpers.php (+8 -0)
resources/views/filament/pages/installer.blade.php (+7 -0)
📝 routes/base.php (+4 -0)

📄 Description

Adds a web installer (app url + /installer) with 4 steps (5 if redis is selected):
grafik
grafik
grafik
grafik
grafik

It also handles running migrations/ seeding and setting up the queue worker service file. The app settings command (php artisan p:environment:setup) has been simplified to now only copy the example .env and generate an app key.

The installer is not enforced, there is no automatic redirect if the panel isn't "installed".

Also closes #5.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/504 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 7/23/2024 **Status:** ✅ Merged **Merged:** 8/3/2024 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `feature/install-process` --- ### 📝 Commits (10+) - [`d5537dc`](https://github.com/pelican-dev/panel/commit/d5537dc2bdd6946f971e515289f1e7c625dffbe8) simplify setup command - [`f84aef1`](https://github.com/pelican-dev/panel/commit/f84aef175bab4d42ea6152ea2aa15a5bb631664e) add installer page - [`d4bb259`](https://github.com/pelican-dev/panel/commit/d4bb2591eed8c720def2aeaca36e49f84bc1c01b) add route for installer - [`0ba15cb`](https://github.com/pelican-dev/panel/commit/0ba15cbb397ba7627cd6e89564ed8567daabae16) adjust gitignore - [`43aa18e`](https://github.com/pelican-dev/panel/commit/43aa18ebd0412b118b894ec93e1b7cc7c802db79) set colors globally - [`ff24566`](https://github.com/pelican-dev/panel/commit/ff245665e7fe68414356deb87b331a6326087ac3) add "unsaved data changes" alert - [`ba73afe`](https://github.com/pelican-dev/panel/commit/ba73afe64a1b388eeaf024f9da57dc5b72525ace) add helper method to check if panel is installed - [`6740abb`](https://github.com/pelican-dev/panel/commit/6740abbfb320b8c9f81c9a160ba577b7f495371c) make nicer - [`bef2364`](https://github.com/pelican-dev/panel/commit/bef2364c13f5c3187a9cf726228477ba10f4b87c) redis username isn't required - [`7e2f8a3`](https://github.com/pelican-dev/panel/commit/7e2f8a36b34ca7148c8eac37ad26b17e854bf482) bring back db settings command ### 📊 Changes **17 files changed** (+778 additions, -131 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+1 -0) 📝 `app/Console/Commands/Environment/AppSettingsCommand.php` (+14 -121) ➕ `app/Console/Commands/Environment/CacheSettingsCommand.php` (+68 -0) ➕ `app/Console/Commands/Environment/QueueSettingsCommand.php` (+66 -0) ➕ `app/Console/Commands/Environment/SessionSettingsCommand.php` (+69 -0) ➕ `app/Filament/Pages/Installer/PanelInstaller.php` (+144 -0) ➕ `app/Filament/Pages/Installer/Steps/AdminUserStep.php` (+31 -0) ➕ `app/Filament/Pages/Installer/Steps/DatabaseStep.php` (+95 -0) ➕ `app/Filament/Pages/Installer/Steps/EnvironmentStep.php` (+94 -0) ➕ `app/Filament/Pages/Installer/Steps/RedisStep.php` (+42 -0) ➕ `app/Filament/Pages/Installer/Steps/RequirementsStep.php` (+87 -0) 📝 `app/Providers/AppServiceProvider.php` (+11 -0) 📝 `app/Providers/Filament/AdminPanelProvider.php` (+0 -10) ➕ `app/Traits/Commands/RequestRedisSettingsTrait.php` (+37 -0) 📝 `app/helpers.php` (+8 -0) ➕ `resources/views/filament/pages/installer.blade.php` (+7 -0) 📝 `routes/base.php` (+4 -0) </details> ### 📄 Description Adds a web installer (app url + `/installer`) with 4 steps (5 if redis is selected): ![grafik](https://github.com/user-attachments/assets/5a8950c9-a897-46f5-a696-6a17b884f95d) ![grafik](https://github.com/user-attachments/assets/98d1eb37-946f-4f14-8c71-5bdc3cea2cfe) ![grafik](https://github.com/user-attachments/assets/9349648e-a30f-4688-9be1-82fb28b5dcdd) ![grafik](https://github.com/user-attachments/assets/40d8fe03-0264-4464-85c2-c32c8afc521d) ![grafik](https://github.com/user-attachments/assets/16316320-6842-4b71-a228-d9fddb22cef5) It also handles running migrations/ seeding and setting up the queue worker service file. The app settings command (`php artisan p:environment:setup`) has been simplified to now only copy the example .env and generate an app key. The installer is not enforced, there is no automatic redirect if the panel isn't "installed". Also closes #5. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 17:54:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#798