Add Gitpod config

This commit is contained in:
Christopher C. Wells 2021-09-06 14:18:55 -07:00
parent 44110984e2
commit 32717f4f2b
1 changed files with 15 additions and 0 deletions

15
.gitpod.yml Normal file
View File

@ -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