example static page setup

Your Name c487549d32 md syntax 8 ヶ月 前
images 9df420c07e second initial commit - haha 8 ヶ月 前
.gitignore 0daea9e4e4 Initial commit 8 ヶ月 前
README.md c487549d32 md syntax 8 ヶ月 前

README.md

kyleguy

repository setup

Configure the your domain registrar's DNS

This assumes you are using the DNS provided by your domain registrar. Some common registrars are Cloudflare, SquareSpace, Wix, GoDaddy, Gandi, Namecheap, and others. FYI, I listed some bad and some good ones, not a review just blasting.

Not necessarily the first thing that needs to be accomplished, but if it is done early time can be saved while the DNS provider tries to spread the word out to the internet about your domain. Add a record for the domain name. In this example we add kyleguy.rome7.com, you only add a record for the subdomain part, kyleguy. You are the decision maker for what domain points to this site. My site will be hosted on pebbleguy.com so I use a CNAME so that when people go to my site they will know where my site is located. I did not want a site at rome7.com so I am creating a subdomain:

add-dns-record

Create a git repository

Login to your account on git.pebbleguy.com. Click the add repository button:

click-add-repo

Then fill out the form. We will use some predefined options to template our gitignore file and have Gogs initialize the repository for us.

new-repo-settings

This is what the mostly empty repository looks like if you were successful:

repo-created-screenshot

Get a copy of the repository on your computer

Open powershell or cmd:

run-powershell

You will clone the repository to your desktop, type these commands into the powershell terminal. The output should match closely with the example. You will want to replace the clone url with your own repository https://git.pebbleguy.com/{{your_gogs_account_name}}/{{repository_name}}

cd desktop
git clone https://git.pebbleguy.com/kyle/kyleguy

clone-repository

With the repository cloned to your desktop successfully, you should be able to use the Windows file explorer to view the files:

file-explorer