From 308937644711209df5b0cbe5e9603acba11c0685 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Wed, 14 Apr 2021 06:07:52 -0700 Subject: [PATCH] Update development environment documentation --- .env.local.example | 2 +- README.md | 7 +++++-- docker-compose.yml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.env.local.example b/.env.local.example index a8d3835..a99b00e 100644 --- a/.env.local.example +++ b/.env.local.example @@ -3,7 +3,7 @@ APP_NAME=kcal APP_ENV=local APP_KEY= APP_DEBUG=true -APP_URL=http://kcal.test +APP_URL=http://127.0.0.1 APP_PORT=8080 APP_SERVICE=app APP_TIMEZONE=UTC diff --git a/README.md b/README.md index 5ae4575..903f321 100644 --- a/README.md +++ b/README.md @@ -152,12 +152,15 @@ Set `SCOUT_DRIVER=null` in kcal's `.env` file to use the fallback driver. 1. Generate an app key. - touch .env php artisan key:generate + Verify that the `APP_KEY` variable has been set in `.env`. If has not, run + `php artisan key:generate --show` and copy the key and append in to the + `APP_KEY=` line manually. + 1. Run it! :sailboat: - vendor/bin/sail up -d + vendor/bin/sail up 1. (On first run) Run migrations. diff --git a/docker-compose.yml b/docker-compose.yml index f603791..b9d525a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,7 +39,7 @@ services: image: phpmyadmin restart: always ports: - - 8080:80 + - 8081:80 environment: PMA_HOST: db MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-kcal}'