|
@@ -13,6 +13,34 @@ git clone https://git.pebbleguy.com/kyle/kyleguy
|
|
|
|
|
|
|
|
Public does not exist yet. Let's create it. We are hosting a static site generated by a tool called `hugo`. We need `hugo`. One would be better off developing their site on their computer. So let's use Windows because I loath the OS and like maximum pain.
|
|
Public does not exist yet. Let's create it. We are hosting a static site generated by a tool called `hugo`. We need `hugo`. One would be better off developing their site on their computer. So let's use Windows because I loath the OS and like maximum pain.
|
|
|
|
|
|
|
|
|
|
+First up is to install Hugo using the windows package manager, `winget`.
|
|
|
|
|
+
|
|
|
|
|
+**Open a terminal**
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
|
|
+**Download and install hugo**
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+winget install Hugo.Hugo.Extended
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
+
|
|
|
|
|
+**uh-oh we want to be in a repository but we do we have one?**
|
|
|
|
|
+There are instructions to setup the repository in this guide, go there when you get to a stopping point there come back here.
|
|
|
|
|
+
|
|
|
|
|
+Wow cool, we have a copy of the `kyleguy` repository on our windows computer. We can initilize a `hugo` static site.
|
|
|
|
|
+
|
|
|
|
|
+Windows is really cool they have a feature where they print red text until you close and reopen the terminal:
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
## site setup
|
|
## site setup
|
|
|
You are going to need a domain, either buy one or be a person whom already has a domain. We are going to host our site on `pebbleguy.com` using the `NginX` ("engine x") web server. We will create a site configuration file with SSL using a tool, `certbot-wapper.sh`. This script is part of the [pebbleguy repository](https://git.pebbleguy.com/Dan/pebbleguy.com/src/master/scripts/certbot-wrapper.sh). Login to your account on `pebbleguy.com` using Secure Shell (SSH) or ask Kyle, Chris, Daniel, or Emma for help. If you are one of those people, hello! Download the `pebbleguy.com` repository so you have access to the script and run `certbot-wrapper.sh` to have it create the `NginX` config file for your site:
|
|
You are going to need a domain, either buy one or be a person whom already has a domain. We are going to host our site on `pebbleguy.com` using the `NginX` ("engine x") web server. We will create a site configuration file with SSL using a tool, `certbot-wapper.sh`. This script is part of the [pebbleguy repository](https://git.pebbleguy.com/Dan/pebbleguy.com/src/master/scripts/certbot-wrapper.sh). Login to your account on `pebbleguy.com` using Secure Shell (SSH) or ask Kyle, Chris, Daniel, or Emma for help. If you are one of those people, hello! Download the `pebbleguy.com` repository so you have access to the script and run `certbot-wrapper.sh` to have it create the `NginX` config file for your site:
|
|
|
```
|
|
```
|