mirror of https://github.com/kcal-app/kcal.git
Update development environment documentation
This commit is contained in:
parent
dbee32dc14
commit
3089376447
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ services:
|
|||
image: phpmyadmin
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:80
|
||||
- 8081:80
|
||||
environment:
|
||||
PMA_HOST: db
|
||||
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-kcal}'
|
||||
|
|
|
|||
Loading…
Reference in New Issue