Neste curso vamos trabalhar com escala horizontal de aplicações na nuvem da Google.
Links Úteis:
Clone Repository
git clone https://github.com/especializati/gcp-escala.git app-laravel
cd app-laravel/
Remove Version Control
rm -rf .git
Create .env File
cp .env.example .env
Update the environment variables in the .env file
APP_NAME="Especializa Ti"
APP_URL=http://localhost:8989
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=nome_que_desejar_db
DB_USERNAME=nome_usuario
DB_PASSWORD=senha_aqui
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
Start project containers
docker-compose up -d
Access the container
docker-compose exec app bash
Install project dependencies
composer install
Generate Laravel project key
php artisan key:generate
Access the project http://localhost