소스 검색

updating content for maintainable static website

Harlan Iverson 7 년 전
부모
커밋
3a9df4dae5

+ 4 - 0
tinydatacenter.com-v2/app/resources/templates/md/posts/2018-02-04-webserver.md

@@ -46,6 +46,10 @@ Nano is a text editor similar to MS Word, except it runs without a cursor or win
 If this is too uncomfortable we can skip sraight to installing a [desktop](desktop.html) system so that you can use a normal window based text editor.
 
 
+1. Create initial files
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/e370eb5d5dfd8af3aba7cb5418defd2bb4081f05)
+2. Create scripts to start and stop the server
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/c7f4bf429786fdc5f7b948df5012a4541c275ea7)
 
 
 

+ 32 - 9
tinydatacenter.com-v2/app/resources/templates/md/posts/2018-03-08-maintainable-website.md

@@ -6,15 +6,38 @@
  :episode-prereqs ["2018-02-04-webserver.html" "2018-02-04-docker.html"]
  :tags ["episode" "episode-wip" "video"]}
 
-## Maintanable website
+In this episode you'll learn how to edit our simple website in a maintainable way. We'll start by copying the website
+we have into a nice website generator that handles layouts and news feeds for us. Then we'll add some extra features
+that start to enable social features, and let us learn new Dockerfile techniques.
 
-From the baseline maintainable website one is able to carry out a number of more interesting projects.
-This episode will focus on porting a simple static website to one with a layout and some pages. We will
-use a static site generator to avoid many issues that come with maintaining a website using more technology
-that seems less primitive... from my perspective this technique is equally or more advanced than popular
-modern tools.
+I've yet to record an episode video, but here are the commits I performed one morning when I moved harlanji.com
+into Cryogen. I also added a keybase verification file, which sadly was the one thing I missed... otherwise the
+page looks the same as the original.
 
-We get security and horizontal scalability out of the box. In a future episode we'll see how to incorporate dynamic
-elements into the website. Following our [persistent static website]() design one can imagine how events 
-can be utilized for dynamic portions of the website.
+1. created a new cryogen blog and ported harlanji.com into a page and a template to match OG content
 
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/938535e1c82d9947cc1c8b6ebfc23723947671b6)
+
+2. added scripts for ops:
+
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/a648a710877d5926ac5b8e38aa19b485e9f55b96)
+
+3. added fork me link:
+
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/4d48f060e4ee8c551ee3996dad32f1d304ffd752)
+
+4. bump version for ops:
+
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/29d12650f23e65451340bfa71fcb32c41b8c0c11)
+
+5. added keybase verification (virtual file):
+
+  * [GH commit](https://github.com/harlanji/tinydatacenter/commit/0f5e8edbd250a8926006f80c5fbd947cd656935c)
+  
+  Between changes we had to purge our CloudFlare cache. I need to make a script for that... I have a WIP one 
+  that lists all static assets... I just need to chunk it into groups of 30 and add extra variations on the home
+  page URL and look into whether http+https are distinct.
+  
+  
+  
+  

+ 1 - 1
tinydatacenter.com-v2/scripts/env.sh

@@ -6,7 +6,7 @@ NAME=tinydatacenter-build
 DEV_PORT=23000
 
 NAME_STATIC=tinydatacenter-static
-IMAGE_STATIC=docker-registry.local:5000/tinydatacenter.com/tinydatacenter-static:3
+IMAGE_STATIC=docker-registry.local:5000/tinydatacenter.com/tinydatacenter-static:4
 PORT_STATIC=23080
 
 MEDIA=$HOME/p/tdc-media