Skip to content
29 changes: 29 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
image: gitpod/workspace-full:latest

tasks:
- name: Setup
init: |
make deps
command: |
gp sync-done setup
exit 0
- name: Run frontend
command: |
gp sync-await setup
make watch-frontend
- name: Run backend
command: |
gp sync-await setup
export GITEA__server__ROOT_URL="https://3000-$GITPOD_WORKSPACE_ID.${GITPOD_WORKSPACE_CLUSTER_HOST}/"
export TAGS="sqlite sqlite_unlock_notify"
make watch-backend

vscode:
extensions:
- editorconfig.editorconfig
- dbaeumer.vscode-eslint
- golang.go

ports:
- name: Gitea
port: 3000