Host Your Own GitHub Alternative with Gitea on Windows

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=v8iy29OJomQ



Duration: 2:29
718 views
10


#Gitea #Windows #Git

Full steps can be found at https://i12bretro.github.io/tutorials/0667.html

--------------------------------------------------------------------
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. - https://docs.gitea.io/en-us/
 
--------------------------------------------------------------------
Installing Gitea
--------------------------------------------------------------------
   01. Open a browser and navigate to https://dl.gitea.io/gitea
   02. Open the folder for the latest release
   03. Download the latest windows .exe release
   04. Download Git for Windows  https://github.com/git-for-windows/git/releases/latest
   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 http://DNSorIP:3000
   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:  https://docs.gitea.io/en-us/windows-service/
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Gitea
Windows
GitHub Alternatives
Microsoft
Powershell
Source Control
Git
Gitea Tutorial
How To
Tutorial
i12bretro