Live data from Hacker News

Building a fast, secured and free static site in less than three hours

fillmem.com

61–70 of 201 posts

Re: Building a fast, secured and free static site in less than three hours

#61
post #35

I host mine on Digital Ocean. I commit the code to github, dev branch is deployed to stg.mydomain and master is deployed to mydomain. In terms of deployment, I use Caddy which, with ~3 lines of config will auto-TLS your site using Lets Encrypt, and handle renewing the certs for you each month. Caddy also automatically pulls your changes, builds them with hugo and deploys them with ~2 more lines of config. It's the ea…

Assuming your blog is technical, this would have been a good chance to get some more traffic by at least mentioning the actual domain, linking to the github repo, or having one or both of those in your profile. Edit: Not sure why this has been met with a stream of downvotes. Is there something wrong with saying "I use a different approach to publish this blog: [link]," especially if it's technical and would be of int…

"Edit 2: I don't generally care where a post is but this went from -2 to +6 pretty quickly. Weird?"

Probably I can answer that :) I noticed that when one of my posts get down voted even when having a neutral comment, it swings back to positive fast when touching -1 or -2. I guess that the gray comment takes a while for HN'ers to notice as down voted. And when they find that there is nothing wrong with it or they actually like it, many people simultaneously click the upvote swinging it back wildly to positive zone. It is HN's own version of 'universe making right what it deems as correct' :D

Re: Building a fast, secured and free static site in less than three hours

#62
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

It's actually a good* guide, but the wording of the title seems to me to imply that this is a simple process. It's dizzying complex.

* by "good", I mean the following:

- prose is engaging

- very comprehensive, no hidden steps missed

- covers a lot of things that while not strictly necessary, will make an experienced git user's website updating workflow much easier in the long run

- covers some small details that are new to me that look nice

It's very much complexity up front in exchange for automated ease later though.

Re: Building a fast, secured and free static site in less than three hours

#64
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

And you could do it with a WYSIWYG editor which would output reasonable markup. (dreamweaver)

Or more popular, you could do it with a horrible WYSWIG editor which output garbage (Frontpage express).

Re: Building a fast, secured and free static site in less than three hours

#65

I also used Hugo for my site - https://testloop.co.uk It's so simple.. and FAST. It's hosted on AWS S3 with CloudFront & Route53 so it's not free, but at a cost of around $1.20 per month, it's not far off.

$1.20 a month is really expensive. I have a whole virtual server for €5 a month (and there are smaller ones) that hosts 10+ sites/apps.

EDIT: I just realized that's a question I should ask: Does your price include the domain?

Re: Building a fast, secured and free static site in less than three hours

#66
This is a neat tutorial. I use github pages with their built in Jekyll stuff which I'm semi happy with but I found Jekyll a big learning curve compared to Blogger which I was using before.

Curious why people want to serve static sites to users over https though.

http://justinhj.github.io

Re: Building a fast, secured and free static site in less than three hours

#67
post #59
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

I made my first website using vi to make an index.html file in the ~/public_html directory in the home directory of my account on a university Solaris server back in 1997. FTP was a luxury. Kids today.

On my university, you do the same thing to get a website up. (Except the web server is actually a different server than the main server, so you have to ssh there, and you replace vi with vim and Solaris with Linux.)

Re: Building a fast, secured and free static site in less than three hours

#68
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

I solved this problem a long time ago. Once solved, it did not take three hours to get a web side on-line (well may be, if you bought your own domain and set up your own server to host it).

https://www.jgaa.com/content/1/old_sites/july_2000/htmgen32....

Re: Building a fast, secured and free static site in less than three hours

#69

This is a neat tutorial. I use github pages with their built in Jekyll stuff which I'm semi happy with but I found Jekyll a big learning curve compared to Blogger which I was using before. Curious why people want to serve static sites to users over https though. http://justinhj.github.io

https://doesmysiteneedhttps.com/
Post reply on HN