Git Required Docker && docker-compose
$ git clone git@github.com:hoangtm1601/larabase.git
$ cd shop
$ docker-compose up -d
Get into docker container
$ docker-compose exec workspace bash
// Inside docker
$ composer install --no-interaction
$ chmod 777 -R storage
$ chmod 777 -R bootstrap/cache
$ cp .env.example .env
$ php artisan key:generate
$ php artisan migrate:refresh --seed
$ yarn install
php artisan storage:link
Go to http://shop.localhost
Go to http://localhost:8000
Configs
server: mysql
username: shop
password: secret
Database: shop