-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f77b072
commit 7a67303
Showing
1 changed file
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,35 @@ | |
Laravel Blog 8.x | ||
|
||
## About | ||
TODO | ||
Laravel Blog application. | ||
|
||
## Installation | ||
TODO | ||
1. Everyting like standard Laravel installation (more in https://laravel.com/docs/8.x#installation): | ||
- download release or clone this repo | ||
- setup your blog in .env file. | ||
3. Run artisan `php artisan storage:link` (necessary for store images). | ||
2. Fill correctly `APP_DISQUS` - your embed.js provided by Disqus and `SESSION_DOMAIN` - your domain. | ||
3. Add some users in database/seeders/UserSeeder.php for example: | ||
```php | ||
DB::table('users')->insert([ | ||
'name' => 'your_user_name', | ||
'first_name' => 'your_first_name', | ||
'last_name' => 'your_last_name', | ||
'email' => '[email protected]', | ||
'website' => 'your_website', | ||
'description' => 'your_description', | ||
'password' => Hash::make('your_password'), | ||
'email_verified_at' => now(), | ||
'remember_token' => '' | ||
]); | ||
``` | ||
4. Migrate database using artisan `php artisan migrate --seed`. | ||
|
||
Have fun :) | ||
|
||
## Languages | ||
TODO | ||
- Two languages are available by default English and Polish. | ||
- If you want to add new language you will make new folder for example de in resources/lang and copy everyting form resources/lang/en to this folder and create de.json in resources/lang folder. And then translate and set 'locale' and 'fallback_locale' in config/app.php to your language for example de. | ||
|
||
## Libraries | ||
- [Laravel 8.x](https://laravel.com/docs/8.x) | ||
|