Skip to content

Commit

Permalink
Merge pull request #80 from Boy132/patch-1
Browse files Browse the repository at this point in the history
Also add info about `composer update` to update docs
  • Loading branch information
notAreYouScared authored Oct 7, 2024
2 parents acafe5e + aaa9ba7 commit 65f27b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/panel/update.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Admonition from '@theme/Admonition';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand Down Expand Up @@ -46,11 +47,14 @@ chmod -R 755 storage/* bootstrap/cache

### Update Dependencies


```sh
composer install --no-dev --optimize-autoloader
```

<Admonition type="info">
Even though composer might tell you that you have outdated dependencies, do **not** run `composer update`!
</Admonition>

### Clear Compiled Template Cache

You'll also want to clear the compiled template cache to ensure that new and modified templates show up correctly for
Expand All @@ -62,6 +66,7 @@ php artisan config:clear
```

### Update Database

You'll also need to update your database schema. Running the command below
will update the schema and ensure the default eggs we ship are up to date (and add any new ones we might have). Just
remember, _never edit core eggs we ship_! They will be overwritten by this update process.
Expand Down Expand Up @@ -92,6 +97,7 @@ is `www-data` but can vary from system to system &mdash; sometimes being `nginx`
```
</TabItem>
</Tabs>

### Restart Queue Workers

After _every update_ you should restart the queue worker.
Expand Down

0 comments on commit 65f27b2

Please sign in to comment.