File tree 4 files changed +27
-4
lines changed
docs/content/doc/developers
4 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 1
- image : gitpod/workspace-full:latest
2
-
3
1
tasks :
4
2
- name : Setup
5
3
init : |
@@ -16,10 +14,13 @@ tasks:
16
14
command : |
17
15
gp sync-await setup
18
16
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
17
+ echo -e "[server]\nROOT_URL=$(gp url 3000) /" > custom/conf/app.ini
18
+ echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = $GITPOD_REPO_ROOT /data/gitea.db" >> custom/conf/app.ini
21
19
export TAGS="sqlite sqlite_unlock_notify"
22
20
make watch-backend
21
+ - name : Run docs
22
+ before : sudo bash -c "$(grep 'https://github.com/gohugoio/hugo/releases/download' Makefile | tr -d '\')" # install hugo
23
+ command : cd docs && make clean update && hugo server -D -F --baseUrl $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0
23
24
24
25
vscode :
25
26
extensions :
@@ -28,7 +29,11 @@ vscode:
28
29
- golang.go
29
30
- stylelint.vscode-stylelint
30
31
- DavidAnson.vscode-markdownlint
32
+ - johnsoncodehk.volar
33
+ - ms-azuretools.vscode-docker
31
34
32
35
ports :
33
36
- name : Gitea
34
37
port : 3000
38
+ - name : Docs
39
+ port : 1313
Original file line number Diff line number Diff line change 33
33
<a href =" https://opensource.org/licenses/MIT " title =" License: MIT " >
34
34
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
35
35
</a >
36
+ <a href =" https://gitpod.io/#https://github.com/go-gitea/gitea " >
37
+ <img
38
+ src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod "
39
+ alt="Contribute with Gitpod"
40
+ />
41
+ </a >
36
42
<a href =" https://crowdin.com/project/gitea " title =" Crowdin " >
37
43
<img src="https://badges.crowdin.net/gitea/localized.svg">
38
44
</a >
Original file line number Diff line number Diff line change 33
33
<a href =" https://opensource.org/licenses/MIT " title =" License: MIT " >
34
34
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
35
35
</a >
36
+ <a href =" https://gitpod.io/#https://github.com/go-gitea/gitea " >
37
+ <img
38
+ src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod "
39
+ alt="Contribute with Gitpod"
40
+ />
41
+ </a >
36
42
<a href =" https://crowdin.com/project/gitea " title =" Crowdin " >
37
43
<img src="https://badges.crowdin.net/gitea/localized.svg">
38
44
</a >
Original file line number Diff line number Diff line change 19
19
20
20
{{< toc >}}
21
21
22
+ ## Quickstart
23
+
24
+ To get a quick working development environment you could use Gitpod.
25
+
26
+ [ ![ Open in Gitpod] ( https://gitpod.io/button/open-in-gitpod.svg )] ( https://gitpod.io/#https://github.com/go-gitea/gitea )
27
+
22
28
## Installing go
23
29
24
30
You should [ install go] ( https://golang.org/doc/install ) and set up your go
You can’t perform that action at this time.
0 commit comments