File tree 1 file changed +13
-0
lines changed
docs/content/doc/developers
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,19 @@ Visual Studio Code. Look at
309
309
[ ` contrib/ide/README.md ` ] ( https://github.com/go-gitea/gitea/blob/main/contrib/ide/README.md )
310
310
for more information.
311
311
312
+ ## GoLand
313
+
314
+ Clicking the ` Run Application ` arrow on the function ` func main() ` in ` /main.go `
315
+ can quickly start a debuggable gitea instance.
316
+
317
+ The ` Output Directory ` in ` Run/Debug Configuration ` MUST be set to the
318
+ gitea project directory (which contains ` main.go ` and ` go.mod ` ),
319
+ otherwise, the started instance's working directory is a GoLand's temporary directory
320
+ and prevents gitea from loading dynamic resources (eg: templates) in a development environment.
321
+
322
+ To run unit tests with SQLite in GoLand, set ` -tags sqlite,sqlite_unlock_notify `
323
+ in ` Go tool arguments ` of ` Run/Debug Configuration ` .
324
+
312
325
## Submitting PRs
313
326
314
327
Once you're happy with your changes, push them up and open a pull request. It
You can’t perform that action at this time.
0 commit comments