Bladeren bron

update notes

Your Name 8 maanden geleden
bovenliggende
commit
7de2013b79
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3 2
      README.md

+ 3 - 2
README.md

@@ -4,7 +4,7 @@ There are a few things that need to be setup to have a website.  One needs a dom
 ## a place called home, or maybe webroot
 Base directory.  Home.  Root.  C Drive.  What other names are there? Maybe `A:` or `/`.  The place that is the container for the stuff.  Or the directory that holds all the files.  Folders if you like that better.  The `webroot` is a name that does not mean anything except for when you care about it.  If it were your job to organize a party you'd probably pick a place and tell everyone to meet there.  For this tiny amount of time that location is special.  It is ground zero for where the party will happen.  People who aren't at the specified location aren't at the party.  Your party isn't the only party.  In fact it might not even be the only party at the location that you picked.  The point is that you picked a location made it special because you said it was.  This is the same for a webroot.  You are just picking some arbitrary location on a disk and you are going to tell everyone if they want to party at your website they need to go there.  When you follow the instructions for the site setup you will need to tell `NginX` about this location.  I am going to pick the location and we are going to put some files there to serve up at the party.  How long can I draw out this metaphore?  Forever.
 
-Our `webroot` is going to be `/mnt/external/websites/kyleguy.rome7.com`.  We are going to store files in an adjacent directory, further explained when we do the site setup.  This directory that actually contains all the `.html` files and cool pictures of cats is going to be `/mnt/external/projects/kyleguy/public`.  And `/mnt/external/projects/kyleguy`  that is this repository.  There is a copy of this `README.md` in `/mnt/external/projects/kyleguy/README.md`.  Whoa trippy.  Lets put this `README.md` there.
+Our `webroot` is going to be `/mnt/external/websites/kyleguy.rome7.com`.  We are going to store files in an adjacent directory, further explained when we do the site setup.  This directory that actually contains all the `.html` files and cool pictures of cats is going to be `/mnt/external/projects/kyleguy/web/public`.  And `/mnt/external/projects/kyleguy`  that is this repository.  There is a copy of this `README.md` in `/mnt/external/projects/kyleguy/README.md`.  Whoa trippy.  Lets put this `README.md` there.
 
 ```
 cd /mnt/external/projects
@@ -51,6 +51,7 @@ Open up that terminal, then use `winget` to install `powershell`.
 We launch `powershell` a little differently:
 ![run-other-powershell](images/run-the-other-powershell.png)
 
+**Initilize a static page using hugo**
 Let us initilize the files needed for our website:
 ```
 cd Desktop/kyleguy
@@ -145,7 +146,7 @@ You will put your site repository into the `projects` directory.  You will also
 username@pebbleguy:/mnt/external $ cd /mnt/external
 username@pebbleguy:/mnt/external $ ls
 gogs  live-server-configs  lost+found  projects  websites
-username@pebbleguy:/mnt/external $ sudo ln -s /mnt/external/projects/kyleguy/public/ /mnt/external/websites/kyleguy.rome7.com
+username@pebbleguy:/mnt/external $ sudo ln -s /mnt/external/projects/kyleguy/web/public/ /mnt/external/websites/kyleguy.rome7.com
 username@pebbleguy:/mnt/external $ ls /mnt/external/websites
 emma-kac  gogs-webhooks  KingsAndChaos  kyleguy.rome7.com  shootGame  www.pebbleguy.com
 ```