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
- Git clone https://github.com/thedevdojo/blog-template.git
- CD into that new folder
- Run
composer install
- Install dependencies with
npm install
- Run asset watcher with
npm run dev
Visit the homepage, and BOOM
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
, runUser::factory()->create()
to create a new user - Insiide of
php artisan tinker
, runPost::factory()->count(10)->create()
to create posts
That's it!