TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What is your process for creating a new static website and deploying it?

11 pointsby 12s12malmost 8 years ago
Please list the whole process from inception to the final moment when the site is live on the domain. What are the tools you use? What are the steps involved?

8 comments

smt88almost 8 years ago
I&#x27;ve been a web developer since 1996. I built dozens of websites professionally before moving on to building apps in many industries, including finance and insurance.<p>I can, without hesitation, wholeheartedly endorse SquareSpace because it requires zero of my skills. It makes so many painful things painless. I have no idea why people put static websites on their own infrastructure, especially when anything moderately popular needs paid DDoS protection anyway.<p>In fact, with all the modules, my website would have to get pretty fancy (beyond ecommerce, beyond CMS) before I&#x27;d build a custom solution.<p>I&#x27;ve actually turned away at least 10 clients (who would have paid me $10k+ each) and told them to just build it themselves with SquareSpace and hire a designer instead. I feel like it&#x27;s unethical to take those contracts as a developer anymore.
评论 #14681014 未加载
rwieruchalmost 8 years ago
I use Hugo [0] as a static website generator. They have plenty of themes [1] to choose from. You can still adjust it with basic knowledge in HTML&#x2F;CSS. Afterward you can chose where to host it. You can use Github Pages [2] for free or pay for a service like DigitalOcean (starting with 5€ a month which scales well) [3]. I wrote a technical cheatsheet [4] on how to setup your own website with these ingredients.<p>- [0] <a href="https:&#x2F;&#x2F;gohugo.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gohugo.io&#x2F;</a><p>- [1] <a href="http:&#x2F;&#x2F;themes.gohugo.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;themes.gohugo.io&#x2F;</a><p>- [2] <a href="https:&#x2F;&#x2F;pages.github.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pages.github.com&#x2F;</a><p>- [3] <a href="https:&#x2F;&#x2F;www.digitalocean.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;</a><p>- [4] <a href="https:&#x2F;&#x2F;www.robinwieruch.de&#x2F;own-website-in-five-days&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.robinwieruch.de&#x2F;own-website-in-five-days&#x2F;</a>
评论 #14699614 未加载
0x54MUR41almost 8 years ago
I use static website for my blog. Tools I use:<p>* Jekyll for static site generator<p>* GitLab Pages for storing changes as well as deploying site and costuming domain&#x2F;SSL<p>* Vim editor for making changes<p>Steps:<p>1. Clone existed Jekyll&#x27;s files from GitLab Pages&#x27;s repository into local.<p>2. Making changes.<p>3. Push the changes into remote repository<p>4. Custom domain and SSL.<p>Of course, I don&#x27;t need to clone repository and custom domain again if my site has already lived. I just need to update SSL when my certificate expires. You can check this page [1] for further details.<p>[1]: <a href="https:&#x2F;&#x2F;about.gitlab.com&#x2F;features&#x2F;pages&#x2F;" rel="nofollow">https:&#x2F;&#x2F;about.gitlab.com&#x2F;features&#x2F;pages&#x2F;</a>
评论 #14693897 未加载
richardknopalmost 8 years ago
Static website? Just write HTML files in text editor and copy to a server running nginx via ftp.<p>If you are going to make changes to the website often, add an extra step for creating git repository and instead of using FTP to push files to server just pull from git.
评论 #14693899 未加载
err4ntalmost 8 years ago
Open Coda (my code editor)<p>Begin typing content (as TXT or MD)<p>Turn that into HTML manually add DOCTYPE, tags, CSS, and mark up my content.<p>Host either on Github pages (use terminal in my editor to push to Github) or upload to my own web server, or Amazon S3 from the file manager in my editor.<p>View static page in browser.
atmosxalmost 8 years ago
Middleman[1] and a rake task running rsync.<p>[1] <a href="https:&#x2F;&#x2F;middlemanapp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;middlemanapp.com&#x2F;</a>
评论 #14693904 未加载
zabanaalmost 8 years ago
Jekyll &gt; Github pages. Works great with (&lt;insert static site generator of your choice here&gt;).
feistypharitalmost 8 years ago
I really like netlify. Also checkout netlify cms, their own cms.
评论 #14693908 未加载