Skip to content

sunh-2087/Training-php-and-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install PHP dependencies via Composer.

composer install

After running the command "composer install", the .env file is automatically copied from the .env.example file and the application key is also generated. You needn't to initialize them manually.

Run docker in project

docker-compose up -d

Set these environment variables (see .env file).

DB_CONNECTION=mysql
DB_HOST=php_training_mysql
DB_PORT=3306
DB_DATABASE=php_training
DB_USERNAME=root
DB_PASSWORD=root

Bash to container docker

docker exec -it php_training_workspace bash

Migrate and run the default seeder.

php artisan migrate --seed

Install laravel passport

php artisan passport:install 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published