Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Add note Go 1.7 is required for building from source #136

Merged
merged 1 commit into from
Jun 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/doc/installation/from-source.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ menu:

We won't cover the basics of a Golang setup within this guide. If you don't know how to get the environment up and running you should follow the official [install instructions](https://golang.org/doc/install).

**Note**: Go version 1.7 or higher is required

## Download

First of all you have to retrieve the source code, the easiest way is to simply use directly Go for that. Just call the following commands to fetch the source and to switch into the working directory.
Expand Down Expand Up @@ -64,8 +66,6 @@ Now it's time to build the binary, we suggest to embed the assets with the `bind
TAGS="bindata" make generate build
```

**Note**: We recommend the Go version 1.6 or higher because we are using vendoring and we don't set the required env variable for 1.5 anywhere.

## Test

After following the steps above you will have a `gitea` binary within your working directory, first you can test it if it works like expected and afterwards you can copy it to the destination where you want to store it. When you launch Gitea manually from your CLI you can always kill it by hitting `Ctrl + C`.
Expand Down