updated readme

This commit is contained in:
2024-08-23 21:06:53 +03:00
parent a737c2d571
commit 9e140be0ec
2 changed files with 28 additions and 12 deletions
+23 -1
View File
@@ -82,7 +82,9 @@ return [
### Database
The recommended database for small website is sqlite. But you can also use postresql
Make sure to delete the existing migration scripts in your database/migrations folder.
> [!CAUTION]
> Make sure to delete the existing migration scripts in your database/migrations folder.
Then run:
@@ -90,6 +92,26 @@ Then run:
php artisan migrate
```
### File Storage
You can use your local filesystem or s3 compatible storage. Lucent expects you to have a valid configuration inside ``config/filesystems.php``
example:
```php
return [
'disks' => [
'lucent' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => true,
],
],
];
```
### First user
To create your first user, head to your localhost:8000/lucent