Web User
Web User

Reputation: 7746

Installing Gitea on Windows Server 2012 or later

Is it possible to install Gitea on Windows Server 2012 or later? I could not see any specific instructions, with nearly all documentation covering a *nix host.

Upvotes: 3

Views: 6073

Answers (2)

Abd Abughazaleh
Abd Abughazaleh

Reputation: 5545

Download and install GO language. (It’s as easy as next-next-finish)

Open a command prompt and type:

mkdir %GOPATH%
cd %GOPATH%
go get -d -u code.gitea.io/gitea
cd "%GOPATH%/src/code.gitea.io/gitea"
go build

Optional: copy this gitea folder to some other folder (e.g. C:\gitea) if you don’t want to run this from your %GOPATH% folder

.\gitea web

launch http://localhost:3000

Click "sign in" to configure initial configuration (I suggest to use mysql)

if you want to use mysql i suggest to use xampp

Upvotes: 0

VonC
VonC

Reputation: 1328202

Considering gitea proposes a Windows binary (see for instance dl.gitea.io/gitea/1.2.1/ or github.com/go-gitea/gitea/releases), then yes, you can run it on a Windows machine:

Upvotes: 1

Related Questions