-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitpod.yml
50 lines (46 loc) · 1.52 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
43
44
45
46
47
48
49
50
image: devwithlando/gitpod:1
# https://github.com/lando/drupal-dev-environment/blob/9.4.x/.gitpod.yml
tasks:
- name: Drupal start
init: |
wget -O web/sites/default/settings.local.php https://www.dropbox.com/s/yxrzeaw3fl4vi7n/settings.local.php
wget $BIII_DATABASE_URL
lando start
#lando composer require drush/drush
lando composer install
git checkout web/.htaccess
lando rebuild -y
lando db-import $(echo $BIII_DATABASE_URL | sed -e 's/.*\///')
lando drush cr
#lando drush si -y --account-pass=admin --site-name='gitpod_lando' demo_umami
#gp preview $(gp url $(lando info --format=json | jq -r ".[0].urls[1]" | sed -e 's#http://localhost:\(\)#\1#'))
gp preview $(gp url $(lando info --format=json | jq -r ".[0].urls[0]" | sed -e 's#http://localhost:\(\)#\1#'))
#lando ssh --service appserver --user root --command "apt-get update && apt install vim -y"
ports:
- port: 3306
onOpen: ignore
- port: 80
onOpen: ignore
- port: 443
onOpen: ignore
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: false
addBadge: true
vscode:
extensions:
- felixfbecker.php-debug
- dbaeumer.vscode-eslint
- eamodio.gitlens
- EditorConfig.EditorConfig
- esbenp.prettier-vscode
- stylelint.vscode-stylelint
- tombonnike.vscode-status-bar-format-toggle
- usernamehw.errorlens
- mblode.twig-language
- skippednote.vs-code-drupal