#Gitea #Windows #Git
Full steps can be found at [ Ссылка ]
--------------------------------------------------------------------
What is Gitea?
--------------------------------------------------------------------
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. Gitea is a fork of Gogs. - [ Ссылка ]
--------------------------------------------------------------------
Installing Gitea
--------------------------------------------------------------------
01. Open a browser and navigate to [ Ссылка ]
02. Open the folder for the latest release
03. Download the latest windows .exe release
04. Download Git for Windows [ Ссылка ]
05. Install Git for Windows
06. Rename the downloaded gitea .exe file gitea.exe
07. Copy/cut gitea.exe
08. Navigate to C:\Program Files and create a new folder called gitea
09. Paste gitea.exe inside the new gitea folder
10. Hold SHIFT and right click in the white space ≫ Open PowerShell window here...
11. Run the following commands in the PowerShell window
# create subdirectories
$(New-Item -Force -Type Directory '.\data')
$(New-Item -Force -Type Directory '.\log')
# create basic ini configuration
"RUN_USER = $ENV:ComputerName`$`r`nAPP_NAME = Git`r`nRUN_MODE = prod`r`n`r`n[ui]`r`nDEFAULT_THEME = arc-green" | Out-File -Encoding utf8 -FilePath "$(New-Item -Force -Type Directory 'C:\Program Files\gitea\custom\conf')\app.ini"
# run gitea as a service
New-Service -Name "Gitea" -BinaryPathName '"C:\Program Files\gitea\gitea.exe" web --config "C:\Program Files\gitea\custom\conf\app.ini"' -StartupType "Automatic" -Description "Gitea"
# start the gitea service
Start-Service "Gitea"
--------------------------------------------------------------------
Initial Configuration
--------------------------------------------------------------------
01. Open a web browser and navigate to [ Ссылка ]
02. Set the database type to SQLite3 on the Initial Configuration screen ≫ Click the Install Gitea button
03. Click the Register Now link
04. Enter a username, email and password ≫ Click the Register Account button
05. Welcome to Gitea
Documentation: [ Ссылка ]
### Connect with me and others ###
★ Discord: [ Ссылка ]
★ Reddit: [ Ссылка ]
★ Twitter: [ Ссылка ]
![](https://i.ytimg.com/vi/v8iy29OJomQ/maxresdefault.jpg)