3

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.

Web User
  • 7,438
  • 14
  • 64
  • 92

2 Answers2

1

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:

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • omg! u have a million reputation..is your job is to answer for the stack questions only ?lol – jayaprakash R Sep 28 '22 at 15:03
  • @jayaprakashR no, just a few questions per day. But [every day](https://meta.stackexchange.com/q/122976/6309) for 14 years: it adds up. – VonC Sep 28 '22 at 15:13
  • nice contribution to the community @VonC am inspired. I am new t the IT field and start my creere as devops and sure i ll also contribute more once i get enough knowledge – jayaprakash R Sep 28 '22 at 16:00
  • @jayaprakashR Great! Good luck to you :) – VonC Sep 28 '22 at 16:12
0

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

Abd Abughazaleh
  • 4,615
  • 3
  • 44
  • 53