Update development environment documentation

This commit is contained in:
Christopher C. Wells 2021-04-14 06:07:52 -07:00
parent dbee32dc14
commit 3089376447
3 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@ APP_NAME=kcal
APP_ENV=local APP_ENV=local
APP_KEY= APP_KEY=
APP_DEBUG=true APP_DEBUG=true
APP_URL=http://kcal.test APP_URL=http://127.0.0.1
APP_PORT=8080 APP_PORT=8080
APP_SERVICE=app APP_SERVICE=app
APP_TIMEZONE=UTC APP_TIMEZONE=UTC

View File

@ -152,12 +152,15 @@ Set `SCOUT_DRIVER=null` in kcal's `.env` file to use the fallback driver.
1. Generate an app key. 1. Generate an app key.
touch .env
php artisan key:generate 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: 1. Run it! :sailboat:
vendor/bin/sail up -d vendor/bin/sail up
1. (On first run) Run migrations. 1. (On first run) Run migrations.

View File

@ -39,7 +39,7 @@ services:
image: phpmyadmin image: phpmyadmin
restart: always restart: always
ports: ports:
- 8080:80 - 8081:80
environment: environment:
PMA_HOST: db PMA_HOST: db
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-kcal}' MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-kcal}'