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 ``` 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. diff --git a/docs/panel/update.mdx b/docs/panel/update.mdx index 0e037ba..ecd866f 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 loads 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 ```