From 96a285d6190179fbbbe387b94813826941f2cd88 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sat, 4 May 2024 19:42:16 +0000 Subject: [PATCH] Finalize DevContainer support --- .devcontainer/postCreateCommand.sh | 5 ++++- README.md | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index 6575b5e..93984f5 100644 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -4,4 +4,7 @@ echo alias sail=\'sh $([ -f sail ] && echo sail || echo vendor/bin/sail)\' >> ~/ chown -R 1000:1000 /var/www/html composer install cp .env.example .env -php artisan key:generate --force -n \ No newline at end of file +php artisan migrate +php artisan elastic:migrate +php artisan key:generate --force -n +php artisan db:seed diff --git a/README.md b/README.md index b577f60..22bfab7 100644 --- a/README.md +++ b/README.md @@ -448,6 +448,10 @@ Set `SCOUT_DRIVER=null` in kcal's `.env` file to use the fallback driver. ## Development +### Dev Container + +Clone the project in an IDE with Dev Container support and build the container. + ### Laravel Sail #### Prerequisites