Skip to content

Commit c48f208

Browse files
committed
add gitpod config
1 parent e4addac commit c48f208

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.gitpod.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
image: gitpod/workspace-full:latest
2+
3+
tasks:
4+
- name: Setup
5+
init: |
6+
make deps
7+
echo -e "[server]\nROOT_URL = https://3000-$GITPOD_WORKSPACE_ID.${GITPOD_WORKSPACE_CLUSTER_HOST}/" >> ./custom/conf/app.ini
8+
command: |
9+
gp sync-done setup
10+
exit 0
11+
- name: Run frontend
12+
command: |
13+
gp sync-await setup
14+
make watch-frontend
15+
- name: Run backend
16+
command: |
17+
gp sync-await setup
18+
export TAGS="bindata sqlite sqlite_unlock_notify"
19+
make watch-backend
20+
21+
vscode:
22+
extensions:
23+
- editorconfig.editorconfig
24+
- dbaeumer.vscode-eslint
25+
- golang.go
26+
27+
ports:
28+
- name: Gitea
29+
port: 3000

0 commit comments

Comments
 (0)