Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gitpod config #20995

Merged
merged 11 commits into from
Oct 11, 2022
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}/"
anbraten marked this conversation as resolved.
Show resolved Hide resolved
export TAGS="sqlite sqlite_unlock_notify"
make watch-backend

vscode:
extensions:
- editorconfig.editorconfig
- dbaeumer.vscode-eslint
- golang.go
anbraten marked this conversation as resolved.
Show resolved Hide resolved

ports:
- name: Gitea
port: 3000