File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ image : gitpod/workspace-full:latest
2+
3+ tasks :
4+ - name : Setup
5+ init : |
6+ make deps
7+ make build
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+ mkdir -p custom/conf/
19+ echo -e "[server]\nROOT_URL=https://3000-$GITPOD_WORKSPACE_ID.${GITPOD_WORKSPACE_CLUSTER_HOST}/" > custom/conf/app.ini
20+ echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = /workspace/gitea/data/gitea.db" >> custom/conf/app.ini
21+ export TAGS="sqlite sqlite_unlock_notify"
22+ make watch-backend
23+
24+ vscode :
25+ extensions :
26+ - editorconfig.editorconfig
27+ - dbaeumer.vscode-eslint
28+ - golang.go
29+ - stylelint.vscode-stylelint
30+ - DavidAnson.vscode-markdownlint
31+
32+ ports :
33+ - name : Gitea
34+ port : 3000
You can’t perform that action at this time.
0 commit comments