/blog-template

This is a simple Tallstack blog template

Primary LanguagePHP

Laravel Blog

screenshot

Blog Template

This is a dry blog template to use for package development or any other test you want to perform with a plain and dry blog UI. In this package is a plain Laravel application with the Tallstack preset

Steps to load a local version

Visit the homepage, and BOOM 💥 (it will pull the data from a local sqlite file)

If you want to re-run migrations and re-create posts you can do so from the following 👇

Re-run migrations and re-create posts

Follow these steps to re-run the migrations and create a single user and 10 posts

  • Run php artisan migrate
  • Inside of php artisan tinker, run User::factory()->create() to create a new user
  • Insiide of php artisan tinker, run Post::factory()->count(10)->create() to create posts

That's it! 🍻 Enjoy.