mirror of https://github.com/kcal-app/kcal.git
Add Gitpod config
This commit is contained in:
parent
44110984e2
commit
32717f4f2b
|
|
@ -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
|
||||||
Loading…
Reference in New Issue