Skip to content

thinkh/laravel-vue-tasks

Repository files navigation

Build a Task List with Laravel 5.4 and Vue 2

Results of the tutorial from Connor Leech extended by using Laradock.

Follow the Laradock installation guide.

Then run the following steps to configure mysql:

cd laradock
docker-compose up -d ngnix mysql phpmyadmin
docker-compose exec mysql bash
mysql -u root -p

When prompted set the password to root.

Change the DB_HOST in Laravel's .env file to mysql:

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravue
DB_USERNAME=root
DB_PASSWORD=root

Clear the Laravel config cache:

docker-compose exec workspace bash
php artisan config:cache

About

Tutorial result

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published