File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ File uploads and management, for CodeIgniter 4
44## Quick Start
55
661 . 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" `
893 . 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
2728to 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-
4431Finally, 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
4835storage to your ** .gitignore**
You can’t perform that action at this time.
0 commit comments