Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislawfortonski authored Nov 22, 2020
1 parent f77b072 commit 7a67303
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7a67303

Please sign in to comment.