From eda0ec8443a718f398e51419d883f422564e64a7 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Mon, 4 Dec 2023 15:05:23 +0100 Subject: [PATCH] Remove GoLand --- docs/developer/development-environment.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/developer/development-environment.md b/docs/developer/development-environment.md index 219f2d53..4689bd5f 100644 --- a/docs/developer/development-environment.md +++ b/docs/developer/development-environment.md @@ -30,15 +30,4 @@ Do you know how to configure it properly? Why not document that here? Vim has [a Go plugin](https://github.com/fatih/vim-go) that can likely be used to work on Forgejo's code base. Do you know how to configure it properly? Why not document that here? -## GoLand -Clicking the `Run Application` arrow on the function `func main()` in `/main.go` -can quickly start a debuggable Gitea instance. - -The `Output Directory` in `Run/Debug Configuration` MUST be set to the -gitea project directory (which contains `main.go` and `go.mod`), -otherwise, the started instance's working directory is a GoLand's temporary directory -and prevents Gitea from loading dynamic resources (eg: templates) in a development environment. - -To run unit tests with SQLite in GoLand, set `-tags sqlite,sqlite_unlock_notify` -in `Go tool arguments` of `Run/Debug Configuration`.