stephenjude/lite-blog

A Lite Laravel Blog

1.4 2019-12-03 08:41 UTC

This package is auto-updated.

Last update: 2020-02-03 09:14:03 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Lite Blog a minimal full (frontend & backend) blog generator built with tailwindcss and wink a laravel publishing platform by Mohamed Said. The frontend is a replicate of jigsaw blog template.

I made a blog post on how to get started. Check it here.

68747470733a2f2f756361726563646e2e636f6d2f61353731613764332d633464352d343030642d383830352d6331623665326535616663302f686f6d65706167652e504e47

Requirement

Lite Blog make use of Laravel 6, so make sure you have meet Laravel 6 server requirements.

Installation

You can install the Lite Blog via composer create-project

composer create-project --prefer-dist  stephenjude/lite-blog myblog

Create your database and update your .env file.

Setup your blog.

cd myblog

php artisan setup:blog

Start the local development server

php artisan serve

Configs

Site Config

Update site details in the config/services.php file.

'meta' => [
    'site_name' => 'My Perosnal Blog',
    'mantra' => 'Web & Mobile Developer',      
],

Social Profile Links

Update site social profile link in the config/services.php file.

'social' => [
    'linkedin' => 'https://www.linkedin.com/in/username/',
    'email' => 'mailto:mail@gmail.com',
    'medium' => 'https://medium.com/@username',
    'github' => 'https://github.com/username',
    'twitter' => 'https://twitter.com/username',
    'atom' => '#',
],

Unsplash Integration

To use unsplash images add this to your .env file

UNSPLASH_ACCESS_KEY=xxxxxxxxxxxxx

Usage

Routes Url
Homepage myblog.test
List Articles myblog.test/articles
View Article myblog.test/articles/{slug}
Editor (Publishing Platform) myblog.test/editor
Refresh Indexed Articles myblog.test/fresh

This /fresh route should be called after publishing/updating a post. I am still working on automating it.

Compiling assets (Optional)

npm install

npm run dev

Screenshots

About

68747470733a2f2f756361726563646e2e636f6d2f38626363356463322d646261622d346535352d623134342d3165633564313365653661392f61626f75742e504e47

Newsletter

68747470733a2f2f756361726563646e2e636f6d2f32656135616361332d313636342d346335312d386637662d3638396139323231303131652f666f6f7465722e504e47

Publishing Platform (Wink)

68747470733a2f2f756361726563646e2e636f6d2f39346630663464382d346366642d343264662d613561352d3536356234333235363838342f656469746f722e504e47

Security

If you discover any security related issues, please email stephen@deacons.online instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.