Stop worrying about what "everyone else" is doing. FTP and Git push/pull are perfectly fine for something like this. All of those other tools and techniques apply to companies wanting to efficiently organize and deploy projects at scale. If your friend's company is fine with what is essentially just a static brochure page, then that added complexity is unnecessary.
This is very good advice. I am beginning to become worried that hobby projects now consider using heavyweight tools that make sense in companies. If you're only going to build a simple app for friends and family as a hobby which would receive less than 10000 hits in a day, Kubernetes cluster seems like an overkill. CI (automated builds and tests) could still offer some advantages to maintain good long term health of…
Ask HN: How to deploy a single web page in 2019?
11–20 of 28 posts
Re: Ask HN: How to deploy a single web page in 2019?
#12Re: Ask HN: How to deploy a single web page in 2019?
#13Netlify is cheap ($0/month), easy to use, and has its own CDN.
Re: Ask HN: How to deploy a single web page in 2019?
#14Host it on Netlify. Netlify can watch for GitHub commits and automatically deploy new versions. It can also run a build command and deploy the output, if the stuff you want deployed isn't already in the commit. Netlify is cheap ($0/month), easy to use, and has its own CDN.
Re: Ask HN: How to deploy a single web page in 2019?
#15Host it on Netlify. Netlify can watch for GitHub commits and automatically deploy new versions. It can also run a build command and deploy the output, if the stuff you want deployed isn't already in the commit. Netlify is cheap ($0/month), easy to use, and has its own CDN.
Re: Ask HN: How to deploy a single web page in 2019?
#16Yep pretty much this. Yes there are some services like netlify that makes it a bit more easier but then you have less control and no fun. I would setup nginx to serve the static files, use letsencrypt to install SSL cert. and done.
Re: Ask HN: How to deploy a single web page in 2019?
#17Host it on Netlify. Netlify can watch for GitHub commits and automatically deploy new versions. It can also run a build command and deploy the output, if the stuff you want deployed isn't already in the commit. Netlify is cheap ($0/month), easy to use, and has its own CDN.
Came here to say this. As an added bonus you can set up Forestry to connect to your page if you use a static site generator. Its unbeatable.
Found an older comment thread without a conclusion about whether one has a definite advantage over the other: https://news.ycombinator.com/item?id=19987008
Re: Ask HN: How to deploy a single web page in 2019?
#18"I could just FTP this to the server nginx folder" Yep pretty much this. Yes there are some services like netlify that makes it a bit more easier but then you have less control and no fun. I would setup nginx to serve the static files, use letsencrypt to install SSL cert. and done.
Re: Ask HN: How to deploy a single web page in 2019?
#19I’ll give you the link to my project. https://www.amezmo.com
Re: Ask HN: How to deploy a single web page in 2019?
#20What ever method you choose, I definitely recommend a CD pipeline on commit.