Skip to content

Commit 2e05c35

Browse files
committed
Clean up docs
1 parent 55c6489 commit 2e05c35

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ File uploads and management, for CodeIgniter 4
44
## Quick Start
55

66
1. Install with Composer: `> composer require tatter/files`
7-
2. Update the database: `> php spark migrate -all` `> spark db:seed "Tatter\Files\Database\Seeds\FileSeeder"`
7+
2. Migrate the database: `> php spark migrate -all`
8+
2. Seed the database: `> php spark db:seed "Tatter\Files\Database\Seeds\FileSeeder"`
89
3. Start managing files: https://[yourdomain.com]/files
910

1011
## Features
@@ -27,22 +28,8 @@ Once the files are downloaded and included in the autoload, run any library migr
2728
to ensure the database is setup correctly:
2829
* `> php spark migrate -all`
2930

30-
**Pro Tip:** You can add the spark command to your composer.json to ensure your database is
31-
always current with the latest release:
32-
```
33-
{
34-
...
35-
"scripts": {
36-
"post-update-cmd": [
37-
"@composer dump-autoload",
38-
"php spark migrate -all"
39-
]
40-
},
41-
...
42-
```
43-
4431
Finally, run the seeder to install necessary database settings:
45-
`spark db:seed "Tatter\Files\Database\Seeds\FileSeeder"`
32+
`php spark db:seed "Tatter\Files\Database\Seeds\FileSeeder"`
4633

4734
**NOTE**: If your project is part of a tracking repository you probably want to add the file
4835
storage to your **.gitignore**

0 commit comments

Comments
 (0)