Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for next beta #81

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/panel/advanced/mysql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
38 changes: 0 additions & 38 deletions docs/panel/panel-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,44 +50,6 @@ chmod -R 755 storage/* bootstrap/cache/
</TabItem>
</Tabs>

### 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.

<Tabs groupId="webserver">
<TabItem value='NGINX/Apache'>
```sh
sudo crontab -e -u www-data
```
</TabItem>
<TabItem value='Rocky Linux NGINX'>
```sh
sudo crontab -e -u nginx
```
</TabItem>
<TabItem value='Rocky Linux Apache'>
```sh
sudo crontab -e -u apache
```
</TabItem>
</Tabs>

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.
Expand Down
14 changes: 11 additions & 3 deletions docs/panel/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -87,12 +95,12 @@ is `www-data` but can vary from system to system &mdash; sometimes being `nginx`
```
</TabItem>
<TabItem value="Rocky Linux NGINX">
```sh
```sh
chown -R nginx:nginx /var/www/pelican
```
</TabItem>
<TabItem value="Rocky Linux Apache">
```sh
```sh
chown -R apache:apache /var/www/pelican
```
</TabItem>
Expand Down