Installing Lite Blog is pretty simple. Its just like installing a Laravel application using composer.
composer create-project --prefer-dist stephenjude/lite-blog myblog
After the installation, create your database and update .env file with your database credentials. After that run the setup command inside the project directory.
cd myblog php artisan setup:blog
This will publish the public assets for the publishing platform (wink) and generate a login credentials for you.
Visit myblog.test on your local machine to see your homepage.
To create post visit myblog.test/editor and login with the generated credentials.
Here we are going to set the site configuration for our blog. The site configs are inside the config/services.php file.
'meta' =\> [ 'site\_name' =\> 'My Perosnal Blog', 'mantra' =\> 'Web & Mobile Developer', ],
The site_name is the title of the blog while the mantra is what the site stands for usually under the title of the blog. Update them to fit your taste.
Inside config/services.php add your social media profile links.
'social' =\> [ 'linkedin' =\> 'https://www.linkedin.com/in/username/', 'email' =\> 'mailto:email@example.com', 'medium' =\> 'https://medium.com/@username', 'github' =\> 'https://github.com/username', 'twitter' =\> 'https://twitter.com/username', 'atom' =\> '#', ],
When creating post you might like to make use of free professional photos. Wink comes with Unsplash integration out of the box so head over to Unspash,create a new Unsplash app. Grab the ‘Access Key’ and add it to your .env file as UNSPLASH_ACCESS_KEY
npm install npm run dev
The Laravel publishing platform I used on this project (wink) made a very nice provision for SEO. It was designed that every post you publish has fields where you can add your post’s SEO data. I have implemented this on the resources/views/post.blade.php.
For the SEO image, I made use of post featured image. So automatically your featured image will appear as you share the post on twitter, facebook or any other social network sites.
I also used post tags as SEO keywords so adding tags to your post is a plus.