From 5a6188355b46d5387d4d42c4e0552d43fb9466c3 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Thu, 13 Aug 2020 21:54:48 -0700 Subject: [PATCH] Copy .env.example to .env during composer create-project script --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b2af0e8..26819ec 100644 --- a/composer.json +++ b/composer.json @@ -66,7 +66,8 @@ "scripts": { "serve": "php -S localhost:8080", "post-create-project-cmd": [ - "npm install && npm run dev" + "npm install && npm run dev", + "cp .env.example .env" ] } }