From 2306622b81fb02acd8fd8c9b4e1860da4c77f0f7 Mon Sep 17 00:00:00 2001 From: Ondrej Vlach Date: Wed, 7 Aug 2024 13:32:22 +0200 Subject: [PATCH] build(develop): fix missing env file --- .env.example | 4 ++-- develop.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 2a4a8b7..05bc145 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,9 @@ APP_NAME=Laravel APP_ENV=local -APP_KEY= +APP_KEY=base64:1qz0FLoCUun811ED1kPDI3j3oYjf3WX9tsKE1sbGwc0= APP_DEBUG=true APP_TIMEZONE=UTC -APP_URL=http://localhost +APP_URL=http://localhost:8000 APP_LOCALE=en APP_FALLBACK_LOCALE=en diff --git a/develop.sh b/develop.sh index 8998fe4..f6b78cd 100755 --- a/develop.sh +++ b/develop.sh @@ -4,6 +4,10 @@ set -ex docker compose build +if [ !-f .env ]; then + cp .env.example .env +fi + # composer docker compose run -it php-fpm composer install