a personal blog with laravel-ui.
Package | Version |
---|---|
Composer | V2.1.12+ |
Php | V4.4+ |
Node | v18.12.0+ |
Npm | V9.1.2+ |
Package | Version |
---|---|
laravel/ui | ^3.3 |
Warning Make sure to follow the requirements first.
Here is how you can run the project locally:
-
Clone this repo
git clone https://github.com/saberaldda/Personal_blog.git
-
Go into the project root directory
cd Personal_blog
-
Copy .env.example file to .env file
cp .env.example .env
-
Create database
blog
(you can change database name) -
Go to
.env
file- set database credentials
DB_DATABASE=blog DB_USERNAME=root DB_PASSWORD=[YOUR PASSWORD]
Make sure to follow your database username and password
- set database credentials
-
Install PHP dependencies
composer update
-
Generate key
php artisan key:generate
-
install front-end dependencies
npm install && npm run dev
-
Run migration
php artisan migrate
-
Run seeder
php artisan db:seed
this command will create users (admin):
email: admin@admin.com , password: password
-
Storage Link
php artisan storage:link
-
Run server
php artisan serve
-
Visit localhost:8000 in your favorite browser.
> Pull requests are welcome.