Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 1.12 KB

README.md

File metadata and controls

68 lines (53 loc) · 1.12 KB

Print ex

  • Setup Docker com mysql e phpmyadmin

Passo a passo

Clone Repositório

git clone -b main https://github.com/claudiomecenas/setup-docker-laravel-11-BR.git app-laravel
cd app-laravel

Crie o Arquivo .env

cp .env.example .env

Adicione sua API KEY ao .env

GOOGLE_MAPS_API_KEY=your_api_key_here  

Edite o .env para usar Redis

SESSION_DRIVER=redis
QUEUE_CONNECTION=redis  
CACHE_STORE=redis  
REDIS_HOST=redis  

Suba os containers do projeto

docker compose up -d

Acesse o container app

docker compose exec app bash

Instale as dependências do projeto

composer install
composer update

Gere a key do projeto Laravel

php artisan key:generate

Rodar as migrations

php artisan migrate

Acesse o projeto http://localhost:8989

Google Maps JavaScript SDK

npm install @google/maps  
  • npm warn deprecated @google/[email protected]: Please use @googlemaps/google-maps-services-js instead.