Usage Guidelines – Debian 10 with Gogs – Git Service Server

Gogs – Git Service Server

Debian 10

Connecting and configuring Debian 10 with Gogs – Git Service Server

  1. To start the server, run the VM through Azure Portal.
  1. Open port 3000 (TCP) in the network properties in the Azure firewall.
  1. Create a DNS name (there is no need to create a new DNS name if you have one). Go to the ‘Overview’ section in VM properties and configure the DNS name. The name will become, for example, ‘gog123.eastus.cloudapp.azure.com’.
  1. Open a browser on your PC and go to the DNS address http://domain_name:3000, where ‘domain_name’ is the address of your DNS name or DNS name configured on Azure in step 3 (for example http://gog123.eastus.cloudapp.azure.com:3000)
  1. The First-time run configuration page is displayed http:/domain_name:3000/install
  1. Select database type- SQLite3
  1. Enter the path: /home/git/gogs/gogs.db
  1. Enter new ‘Application name’ (e.g. ‘Gogs’)
  1. Enter the domain name from Step 3
  1. Enter ‘Application URL’ (http://’domain_name’:3000/)
  1. Click “Install Gogs”
  1. Select ‘Register’ on the opened page
  1. Fill in the registration fields and click “Create New Account”

The first user is created as an administrator

More documentation about Gogs here – What is Gogs?