Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.74 KB

README.md

File metadata and controls

44 lines (39 loc) · 1.74 KB

Laravel-Blog

Laravel Blog 8.x

About

Laravel Blog application.

Installation

  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.
  2. Run artisan php artisan storage:link (necessary for store images).
  3. Fill correctly APP_DISQUS - your embed.js provided by Disqus and SESSION_DOMAIN - your domain.
  4. Add some users in database/seeders/UserSeeder.php for example:
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' => ''
]);
  1. Migrate database using artisan php artisan migrate --seed.

Have fun :)

Languages

  • 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