• KEMAL SELÇUK
• PHP 8.0.8 or higher
• Node 14.17.4 or higher
Setting up your development environment on your local machine:
git clone [email protected]:codewithdary/laravel-8-complete-blog.git
cd laravel-8-complete-blog
cp .env.example .env
composer install
php artisan key:generate
php artisan cache:clear && php artisan config:clear
php artisan serve
You will see the tables of your database on phpMyAdmin.
npm run watch
Create a database
mysql
create database laravelblog;
exit;
Setup your database credentials in the .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelblog
DB_USERNAME={USERNAME}
DB_PASSWORD={PASSWORD}
Migrate the tables
php artisan migrate