-
Notifications
You must be signed in to change notification settings - Fork 52
/
.gitpod.yml
36 lines (33 loc) · 1019 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
tasks:
- name: Setup environment and PHP/Composer dependencies
openMode: split-left
init: |
cp .env.example .env &&
sed -i "s#APP_URL=http://localhost#APP_URL=$(gp url 8000)#g" .env
sed -i "s#GITPOD_VITE_URL=#GITPOD_VITE_URL=$(gp url 5173)#g" .env
touch database/database.sqlite
composer install --ignore-platform-reqs
php artisan key:generate
php artisan storage:link
php artisan migrate:fresh --seed
php artisan serve
- name: Install Node dependencies and run Vite
openMode: split-right
command: |
npm install
npm run dev
ports:
- port: 5173
onOpen: ignore
visibility: public
name: Node Server for Vite
# Configure vscode
vscode:
extensions:
- bmewburn.vscode-intelephense-client
- ms-azuretools.vscode-docker
- ecmel.vscode-html-css
- MehediDracula.php-namespace-resolver
- Equinusocio.vsc-community-material-theme
- EditorConfig.EditorConfig
- streetsidesoftware.code-spell-checker