Lurker News
This is more of a thought experiment, I know a multitude of ways to do this which require loads of setup, jumping through AWS hoops, etc. I'd like ideally way to deploy to a hosted service with a single command. Imagine Heroku but even easier.

Comments (487) 172 threads

Earlier comments
Atlas-Marbles#
After trying several options, I currently run a ghost.org instance locally in Docker where I edit my site. Then I run a tiny shell script to scrape a static version with wget and push it to Github pages.
hivacruz1 reply#
I use Github Pages + Jekyll for a personal blog. I just started recently. The main problem I'm facing is the limited amount of plugins you can use with Github Pages. They have only whitelisted a few [1].

You can fix this issue by building the site locally and push the generated files but it feels less "proper" to me. There is also the cache policy problem (TTL of 10 minutes) but that's minor.
[1]: https://pages.github.com/versions/

Black101#
> You can fix this issue by building the site locally and push the generated files but it feels less "proper" to me.

Why? Then you can build it locally and push it to multiple sites?

superkuh#
That depends on what kind of static site it is. Is it for a business or making a business impression? Then I don't know.

But if it's for personal use then the easiest is to simply install nginx from your repos on your home computer and put html and media files in directories. Then forward port 80 on your router to the IP of the computer. nginx serving static is not going to be a risk. It's extremely simple. And having everything on your local computer makes it easy to share and very fast to iterate.

Load more comments