Dan Q
Hero Member ⚓︎
    
 

I have no idea what I am doing ⛺︎ My Room
RSS: 
Guild Memberships: Artifacts:
 
|
 |
« on: a Spring day » |
|
Imagine my pride when my 12-year-old told me that she wanted to start learning HTML and CSS and begin making a website of her own. But where would I recommend that she host it?
My first thought was Nekoweb, because its "Nekode" text editor is amazingly easy-to-use and a great way to start making sites without having to think about the "hard stuff" until she's ready to. But it seemed silly to recommend that she host a static site elsewhere when I've got a fibre connection right to the NAS in my own home.
So I basically copied (some of) what Nekoweb do: I pointed a domain and a subdomain at our house, told Caddy to serve a static site directory for the former, and told it to proxy OpenVSCode Server from the latter. And it all... just worked. Now she's got a web address she can go to and edit/upload files and it instantly publishes to her site. It took just 17 lines of Caddy configuration, one Docker command, and a tiny bit of DNS configuration and this just... worked. I'm so pleased, my kiddo is happy that she can publish quickly and easily, and because it's on infrastructure I control it'd be trivially easy to extend it if she later wanted to do PHP, or use the shell to run a static site generator, or integrate some kind of source control with a continuous deployment pipeline, or anything else. Win, win, win.
Anyway: I wrote a short blog post explaining exactly how I did it, if anybody's interested.
|
|
|
|
|
Logged
|
Artifact Swap:  
|
|
|
|
|
|
|
lakes
Sr. Member ⚓︎
   

 ⛺︎ My Room
XMPP: Chat!
RSS: 
Guild Memberships: Artifacts:

|
 |
« Reply #3 on: a Spring night » |
|
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
w8n8
Newbie ⚓︎



Bloop bloop... ⛺︎ My Room
StatusCafe: w8n8
iMood: 
Itch.io: My Games
RSS: 
Artifacts:

|
 |
« Reply #6 on: a Summer night » |
|
|
|
|
|
|
Logged
|
Artifact Swap: 
|
|
|
raven
Newbie ⚓︎


 ⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: TheAmazinRaven
iMood: 
Itch.io: My Games
RSS: 
Guild Memberships: Artifacts:
|
 |
« Reply #7 on: a Summer night » |
|
Imagine my pride when my 12-year-old told me that she wanted to start learning HTML and CSS and begin making a website of her own. But where would I recommend that she host it?
My first thought was Nekoweb, because its "Nekode" text editor is amazingly easy-to-use and a great way to start making sites without having to think about the "hard stuff" until she's ready to. But it seemed silly to recommend that she host a static site elsewhere when I've got a fibre connection right to the NAS in my own home.
So I basically copied (some of) what Nekoweb do: I pointed a domain and a subdomain at our house, told Caddy to serve a static site directory for the former, and told it to proxy OpenVSCode Server from the latter. And it all... just worked. Now she's got a web address she can go to and edit/upload files and it instantly publishes to her site.
 It took just 17 lines of Caddy configuration, one Docker command, and a tiny bit of DNS configuration and this just... worked. I'm so pleased, my kiddo is happy that she can publish quickly and easily, and because it's on infrastructure I control it'd be trivially easy to extend it if she later wanted to do PHP, or use the shell to run a static site generator, or integrate some kind of source control with a continuous deployment pipeline, or anything else. Win, win, win.
Anyway: I wrote a short blog post explaining exactly how I did it, if anybody's interested.
literally trying not to cry you are the best parent ever, are y'all adopting any more? I'm available
|
|
|
|
|
Logged
|
|
|
|
Dan Q
Hero Member ⚓︎
    
 

I have no idea what I am doing ⛺︎ My Room
RSS: 
Guild Memberships: Artifacts:
 
|
 |
« Reply #8 on: a Summer night » |
|
literally trying not to cry you are the best parent ever, are y'all adopting any more? I'm available This might be the best thing anybody has ever said to me on the Internet.
|
|
|
|
|
Logged
|
Artifact Swap:  
|
|
|
|
|
|
|
|
|
|
|