From c931b53a9ecd8eaae1ad091efe983890e8a9ce20 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 3 Sep 2020 18:11:23 +0800 Subject: [PATCH] Remove GOPATH set up on hacking (#12698) --- doc/advanced/hacking-on-gitea.en-us.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/advanced/hacking-on-gitea.en-us.md b/doc/advanced/hacking-on-gitea.en-us.md index b24260c6..0c8ab419 100644 --- a/doc/advanced/hacking-on-gitea.en-us.md +++ b/doc/advanced/hacking-on-gitea.en-us.md @@ -15,13 +15,10 @@ menu: # Hacking on Gitea -## Installing go and setting the GOPATH +## Installing go You should [install go](https://golang.org/doc/install) and set up your go -environment correctly. In particular, it is recommended to set the `$GOPATH` -environment variable and to add the go bin directory or directories -`${GOPATH//://bin:}/bin` to the `$PATH`. See the Go wiki entry for -[GOPATH](https://github.com/golang/go/wiki/GOPATH). +environment correctly. Next, [install Node.js with npm](https://nodejs.org/en/download/) which is required to build the JavaScript and CSS files. The minimum supported Node.js