From 32717f4f2bc535d7a9db6b9b05c34aa9a80efa4b Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Mon, 6 Sep 2021 14:18:55 -0700 Subject: [PATCH] Add Gitpod config --- .gitpod.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..f0e544d --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,15 @@ +tasks: + - init: > + docker-compose pull && + cp .env.example .env && + sed -i "s|APP_URL=|APP_URL=${GITPOD_WORKSPACE_URL}|g" .env && + sed -i "s|APP_URL=https://|APP_URL=https://8000-|g" .env && + composer install && + npm i && + php artisan key:generate + command: > + vendor/bin/sail up + +ports: + - port: 8000 + onOpen: open-preview