I had really hoped that this was about building a static site, but again you'll end up with a blog. I've created an actual static site myself, but it takes a bit extra - especially from the theme. Also, I don't understand why you'd use Hugo with Github when it already supports Jekyll?
Building a fast, secured and free static site in less than three hours
51–60 of 201 posts
Re: Building a fast, secured and free static site in less than three hours
#52I wonder why people (many devs included) use stuff like wordpress to host simple blogs. static site generators are a blessing :) I built my own custom static site generator (python + jinja2) for running my side project[1] I just git push and Netlify picks it up. Simple, to the point and no JS. [1] I run https://discoverdev.io , a "product hunt" for top engineering blog posts!
Re: Building a fast, secured and free static site in less than three hours
#53I wonder why people (many devs included) use stuff like wordpress to host simple blogs. static site generators are a blessing :) I built my own custom static site generator (python + jinja2) for running my side project[1] I just git push and Netlify picks it up. Simple, to the point and no JS. [1] I run https://discoverdev.io , a "product hunt" for top engineering blog posts!
Re: Building a fast, secured and free static site in less than three hours
#54Re: Building a fast, secured and free static site in less than three hours
#55Even though I know all the ins and outs of AWS, I really like this product for simple projects.
(I have no affiliation with Amazon)
Re: Building a fast, secured and free static site in less than three hours
#56Re: Building a fast, secured and free static site in less than three hours
#57I really like the speed of Hugo but I find the template language unintuitive and hard to read e.g. "if or condition1 condition2" and "lt 1 2". I wish you could swap it out for something else like Liquid templates...is that possible? I'd just go for Netlify as well for hosting. It'll build Hugo sites for you when you push commits, they have a CMS you can connect with most static site generators, they deal with SSL set…
Re: Building a fast, secured and free static site in less than three hours
#58I'm using React Gatsby on my blog. I have access to all the npm ecosystem. Is fast. No bloatware or weird code. Styles with styled-components for easy maintenance. https://mateom.io Deployed to an S3 bucket connected to CloudFlare. I just type 'yarn deploy' and it builds my blog and pushed it. And I can commit everything to source control as they keys are in aws-cli
I see npm as the best source of slow, bloated, weird modules.
Re: Building a fast, secured and free static site in less than three hours
#59Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?
Kids today.
Re: Building a fast, secured and free static site in less than three hours
#60Might be a little off-topic but hopefully relevant enough. I'm rather new to web dev but currently have a static website hosted on AWS S3. My current workflow is to code the HTML and CSS files using Sublime Text then upload these files into a bucket manually via the AWS console. Is there a more efficient way to do this? And is there a simple way to enable HTTPS?
For my static sites, I'm usually doing some form of fancy JavaScript npm / gulp / bower, but then ultimately just uploading those files to S3.
You could probably do it a little faster using the AWS CLI. It can upload a directory to a bucket in one command (while skipping unchanged files).