Skip to content

Commit 9cc14c8

Browse files
committed
fix setup
1 parent 00c1831 commit 9cc14c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitpod.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ tasks:
1414
- name: Run backend
1515
command: |
1616
gp sync-await setup
17-
export GITEA__server__ROOT_URL="https://3000-$GITPOD_WORKSPACE_ID.${GITPOD_WORKSPACE_CLUSTER_HOST}/"
17+
mkdir -p custom/conf/
18+
echo -e "[server]\nROOT_URL=https://3000-$GITPOD_WORKSPACE_ID.${GITPOD_WORKSPACE_CLUSTER_HOST}/" > custom/conf/app.ini
19+
echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = /workspace/gitea/data/gitea.db" >> custom/conf/app.ini
1820
export TAGS="sqlite sqlite_unlock_notify"
1921
make watch-backend
2022

0 commit comments

Comments
 (0)