From 63474ba2903a3c5d925c339d2ba680cd2fe47f65 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sat, 12 Oct 2024 16:51:27 +0200 Subject: [PATCH 1/4] remove crontab and queue worker setup from docs this is now included in the installer --- docs/panel/panel-setup.mdx | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/docs/panel/panel-setup.mdx b/docs/panel/panel-setup.mdx index c7e6d5f..04428e5 100644 --- a/docs/panel/panel-setup.mdx +++ b/docs/panel/panel-setup.mdx @@ -50,44 +50,6 @@ chmod -R 755 storage/* bootstrap/cache/ -### Crontab Configuration - -We need to create a new cronjob that runs every minute to process specific tasks, such as session cleanup and scheduled tasks. -You'll want to open your crontab. - - - - ```sh - sudo crontab -e -u www-data - ``` - - - ```sh - sudo crontab -e -u nginx - ``` - - - ```sh - sudo crontab -e -u apache - ``` - - - -And then paste the line below. - -```sh -* * * * * php /var/www/pelican/artisan schedule:run >> /dev/null 2>&1 -``` - -### Setting up Queue Service - -Once you install the panel and set up the cron-tab the last step to take is to set up the queue service. This can be -done with the command below. - -```sh -sudo php artisan p:environment:queue-service -``` - ### Web-Installer Once you've set the proper permissions & created the Cron & Queue worker, continue the Panel install on the web interface. From 0f19444b30419bf099f082dcd45d7482696f9783 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sat, 12 Oct 2024 16:52:04 +0200 Subject: [PATCH 2/4] Revert "Update mysql.mdx" This reverts commit eb09ef1234406b2bcfbd725f787aaf6ffc63a6f9. --- docs/panel/advanced/mysql.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/panel/advanced/mysql.mdx b/docs/panel/advanced/mysql.mdx index ca024dc..69b816d 100644 --- a/docs/panel/advanced/mysql.mdx +++ b/docs/panel/advanced/mysql.mdx @@ -56,5 +56,5 @@ You do not have to run this if this is the first time you are installing the Pan ```sh cd /var/www/pelican -php artisan p:environment:setup +php artisan p:environment:database ``` From 15039589d10a7a39593ccb09162209235227b86a Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sat, 12 Oct 2024 16:55:22 +0200 Subject: [PATCH 3/4] add `filament:optimize` to the update steps --- docs/panel/update.mdx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/panel/update.mdx b/docs/panel/update.mdx index 0e037ba..cdec109 100644 --- a/docs/panel/update.mdx +++ b/docs/panel/update.mdx @@ -9,7 +9,7 @@ This documentation covers the process for updating the panel portion of Pelican. ## Version Requirements Each version of Pelican Panel also has a corresponding minimum version of Wings that -is required for it to run. +is required for it to run. Please see the chart below for how these versions line up. In most cases your base Wings version should match that of your Panel. @@ -65,6 +65,14 @@ php artisan view:clear php artisan config:clear ``` +## Cache components + +To make sure your panel faster you'll want to cache filament components. + +```sh +php artisan filament:optimize +``` + ### Update Database You'll also need to update your database schema. Running the command below @@ -87,12 +95,12 @@ is `www-data` but can vary from system to system — sometimes being `nginx` ``` - ```sh + ```sh chown -R nginx:nginx /var/www/pelican ``` - ```sh + ```sh chown -R apache:apache /var/www/pelican ``` From aa2446f5d3134cc1255f79ac6d0cfa13a60af214 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Sat, 12 Oct 2024 21:39:10 +0200 Subject: [PATCH 4/4] add missing word... oops --- docs/panel/update.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/panel/update.mdx b/docs/panel/update.mdx index cdec109..ecd866f 100644 --- a/docs/panel/update.mdx +++ b/docs/panel/update.mdx @@ -67,7 +67,7 @@ php artisan config:clear ## Cache components -To make sure your panel faster you'll want to cache filament components. +To make sure your panel loads faster you'll want to cache filament components. ```sh php artisan filament:optimize