a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by veen
veen  ·  3312 days ago  ·  link  ·    ·  parent  ·  post: Why Static Website Generators Are The Next Big Thing

So you're saying that I could have a private repo and it'll update that to the static website on my own hosting? That sounds fantastic.

I have a Digitalocean droplet (VPS) with Ubuntu on it, do you know some good walkthroughs / tutorials on this? Note: I am not great with command line work. How easy would this be to set up?





user-inactivated  ·  3312 days ago  ·  link  ·  

You wouldn't even necessarily have to have a private repo - you have all of your assets on your own computer, run `jekyll build` (or whatever the command is for the generator you're using) and then it'll output all of the static files to a directory (in Jekyll it's "_site" by default). You then move the outputted directory wherever you want, whether it's github or your own server.

I'm not too familiar with walkthroughs, but for Jekyll I just use the documentation, which is fairly high level and easy to follow. I'm not familiar with any generators that aren't managed primarily through a command line. I think the only commands I ever use are `jekyll new` and `jekyll serve`. Aside from that, it's all git. Probably the biggest barrier would be learning the templating language (for Jekyll, it's called Liquid, and is covered in the docs).

IMO, the worst part about Jekyll is that it's Ruby. After you manage to get it installed, it's great. And luckily, with static site generators, most people elect to install the generator locally, and then copy the output to your server, so you don't have to worry about getting Jekyll configured on your server. I'd recommend github's guide for installing jekyll.