Browse Source

Remove GOPATH set up on hacking (#12698)

for-closed-social
Lunny Xiao 4 years ago
committed by GitHub
parent
commit
f1a7cd6757
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      docs/content/doc/advanced/hacking-on-gitea.en-us.md

+ 2
- 5
docs/content/doc/advanced/hacking-on-gitea.en-us.md View File

@ -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

Loading…
Cancel
Save