forked from Kovah/LinkAce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
42 lines (37 loc) · 1.34 KB
/
.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
37
38
39
40
41
42
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
tasks:
- name: Setup environment and PHP/Composer dependencies
openMode: split-left
init: |
cp .env.gitpod.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 setup:complete
php artisan registeruser
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
- ecmel.vscode-html-css
- MehediDracula.php-namespace-resolver
- Equinusocio.vsc-community-material-theme
- EditorConfig.EditorConfig