We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
app.ini
1 parent cbc9a0f commit 13bc9abCopy full SHA for 13bc9ab
.gitpod.yml
@@ -10,9 +10,12 @@ tasks:
10
- name: Run backend
11
command: |
12
gp sync-await setup
13
- mkdir -p custom/conf/
14
- echo -e "[server]\nROOT_URL=$(gp url 3000)/" > custom/conf/app.ini
15
- echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = $GITPOD_REPO_ROOT/data/gitea.db" >> custom/conf/app.ini
+ if [[ ! -f custom/conf/app.ini ]]
+ then
+ mkdir -p custom/conf/
16
+ echo -e "[server]\nROOT_URL=$(gp url 3000)/" > custom/conf/app.ini
17
+ echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = $GITPOD_REPO_ROOT/data/gitea.db" >> custom/conf/app.ini
18
+ fi
19
export TAGS="sqlite sqlite_unlock_notify"
20
make watch-backend
21
- name: Run frontend
0 commit comments