Skip to content

Commit 5859f15

Browse files
authored
Merge pull request #28 from cachethq/codex/document-storage-permissions
2 parents 77c5472 + f4573ac commit 5859f15

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎v3.x/installation.mdx‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,22 @@ If you are looking to migrate from Cachet v2.x, please refer to the [migration g
4646
</Note>
4747
</Step>
4848
<Step title="Step 4">
49+
Ensure the user running your web server can write to Cachet's `storage` directory. Cachet uses this
50+
directory for logs, cached files, sessions, and other runtime data.
51+
</Step>
52+
<Step title="Step 5">
4953
Copy the `.env.example` file to `.env`:
5054
```bash
5155
cp .env.example .env
5256
```
5357
</Step>
54-
<Step title="Step 5">
58+
<Step title="Step 6">
5559
Generate an application key:
5660
```bash
5761
php artisan key:generate
5862
```
5963
</Step>
60-
<Step title="Step 6">
64+
<Step title="Step 7">
6165
Configure the `.env` file and set the values of your setup:
6266
```ini .env
6367
DB_CONNECTION=mysql
@@ -68,33 +72,33 @@ If you are looking to migrate from Cachet v2.x, please refer to the [migration g
6872
DB_PASSWORD=
6973
```
7074
</Step>
71-
<Step title="Step 7">
75+
<Step title="Step 8">
7276
Publish Cachet's assets:
7377
```bash
7478
php artisan vendor:publish --tag=cachet
7579
```
7680
</Step>
77-
<Step title="Step 8">
81+
<Step title="Step 9">
7882
Run the database migrations:
7983
```bash
8084
php artisan migrate
8185
```
8286
</Step>
83-
<Step title="Step 9">
87+
<Step title="Step 10">
8488
Create the first user by following the prompts:
8589
```bash
8690
php artisan cachet:make:user
8791
```
8892
</Step>
89-
<Step title="Step 10">
93+
<Step title="Step 11">
9094
Enable the scheduler by adding the following cron entry:
9195
```bash /etc/crontab
9296
* * * * * php /path/to/cachet/artisan schedule:run >> /dev/null 2>&1
9397
```
9498

9599
Cachet uses the scheduler to send subscriber notifications for completed maintenance and long-running incidents.
96100
</Step>
97-
<Step title="Step 11">
101+
<Step title="Step 12">
98102
Run a queue worker to deliver email notifications:
99103
```bash
100104
php artisan queue:work

0 commit comments

Comments
 (0)