TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Host Your Own Blog with Gitlab and Netlify

220 点作者 cimnine大约 6 年前

20 条评论

wildmindwriting大约 6 年前
You know, I&#x27;ve been using the Bitbucket &amp; Netlify ecosystem for my Wild Mind[1] website for a little over a year. I moved from a self-install of WordPress on Digital Ocean to the Victor Hugo[2] boilerplate and then used my own theme. It&#x27;s been an absolute joy to build with and I&#x27;ve actually been excited to continue to write because the friction to doing so is largely gone. Really can&#x27;t recommend Netlify or Hugo enough.<p>[1]: <a href="https:&#x2F;&#x2F;www.wildmind.io" rel="nofollow">https:&#x2F;&#x2F;www.wildmind.io</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;netlify-templates&#x2F;victor-hugo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;netlify-templates&#x2F;victor-hugo</a><p>Edit: formatting
评论 #19948877 未加载
评论 #19951587 未加载
评论 #19949826 未加载
评论 #19949745 未加载
评论 #19948240 未加载
评论 #19951785 未加载
评论 #19950081 未加载
ilaksh大约 6 年前
It&#x27;s not using a blog hosting service but it&#x27;s also not really hosting your own since Netlify is actually hosting it.
评论 #19954840 未加载
omerh大约 6 年前
I did almost exactly the same yesterday.<p><a href="https:&#x2F;&#x2F;blog.omerh.me&#x2F;post&#x2F;2019&#x2F;05&#x2F;17&#x2F;first_post&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.omerh.me&#x2F;post&#x2F;2019&#x2F;05&#x2F;17&#x2F;first_post&#x2F;</a>
评论 #19947906 未加载
评论 #19947754 未加载
phillc73大约 6 年前
Also did something similar two weeks ago.[1] It&#x27;s a big work in progress!<p>I&#x27;m using Rstudio&#x27;s Distill framework[2], writing RMarkdown, hosting on Gitlab and publishing on Netlify.<p>Netlify is dead simple to setup, even the domain name and DNS re-direction. I&#x27;m also using one of their contact forms.<p>[1] <a href="https:&#x2F;&#x2F;goodinplaces.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;goodinplaces.net&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;rstudio.github.io&#x2F;distill&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rstudio.github.io&#x2F;distill&#x2F;</a>
als0大约 6 年前
I&#x27;m interested to know what the advantage of using Netlify is over simply using Github Pages.
评论 #19951672 未加载
评论 #19948594 未加载
评论 #19950149 未加载
rahimnathwani大约 6 年前
This is a nice write-up, and it&#x27;s great that it includes instructions for things like creating a GitLab account, which may be unfamiliar for non-developers.<p>But if you&#x27;re going to maintain a blog as a set of markdown files, it&#x27;a worth considering using Netlify CMS (a web-based CMS for managing markdown files in a git repo).<p>This is especially the case if you don&#x27;t use a command line or git often, e.g. if you&#x27;re not a developer or sysadmin.<p>A good starter repo for a blog based on Gatsby, git and Netlify CMS:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alxshelepenok&#x2F;gatsby-starter-lumen" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alxshelepenok&#x2F;gatsby-starter-lumen</a><p>I used the above for my blog, with only minor changes:<p><a href="https:&#x2F;&#x2F;www.encona.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.encona.com&#x2F;</a>
评论 #19947581 未加载
评论 #19949846 未加载
评论 #19947939 未加载
neon_me大约 6 年前
Why u dont use just regular Gitlab Pages without Netlify?
评论 #19951970 未加载
评论 #19952248 未加载
评论 #19949785 未加载
pierreprinetti大约 6 年前
I am loving Netlify!<p>However:<p>&gt; The site will have free TLS and IPv6<p>Unfortunately, the DNS provider (dns1) does not expose DNS over IPv6. Therefore your site is exposed over IPv6 by Netlify, but it will not be reachable by a (probably non-existant) IPv6-only client.<p>Try:<p>dig AAAA dns1.p04.nsone.net
评论 #19947760 未加载
评论 #19947746 未加载
lixtra大约 6 年前
Why would you do this? Who else does it? And how is it superior to just signing up with a hosted Wordpress (like 30% of the Internet)?<p>EDIT: Feel free to downvote but please answer. TFA does not answer it.
评论 #19949100 未加载
评论 #19951493 未加载
评论 #19947532 未加载
评论 #19947557 未加载
评论 #19947774 未加载
评论 #19947614 未加载
评论 #19947606 未加载
评论 #19947629 未加载
评论 #19948589 未加载
评论 #19948115 未加载
评论 #19948051 未加载
tarasmatsyk大约 6 年前
Ha-ha, good one! I did the same but in 2 hours. Really recommend Netlify + GoHugo.<p>Here is my review of popular static site generators plus hosting: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@tarasmatsyk&#x2F;how-to-kick-off-a-blog-in-2-hours-4bb142922185" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@tarasmatsyk&#x2F;how-to-kick-off-a-blog-in-2-...</a>
meeby大约 6 年前
We use Django + Distill on Netlify for static output from Django projects. Netlify is awesome. Example: <a href="https:&#x2F;&#x2F;github.com&#x2F;mgrp&#x2F;django-distill-example" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mgrp&#x2F;django-distill-example</a>
OrgNet大约 6 年前
That is pretty cheap ($10&#x2F;year with own domain), but I pay $12&#x2F;year for a full-blown VPS and it is pretty stable (would not use it if my life depended on it though but it is more stable then my Comcast Internet service)... found it here: <a href="https:&#x2F;&#x2F;www.lowendstock.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lowendstock.com&#x2F;</a>
评论 #19947783 未加载
评论 #19947791 未加载
评论 #19947794 未加载
skinnyarms大约 6 年前
I&#x27;ve hosted several small apps with Netlify, and I recently setup my first blog&#x2F;brochure type site using Netlify CMS. It&#x27;s awkward, but it&#x27;s amazing to me what you can accomplish with a (free) build server, a couple small 3p services, and a CDN with so little effort.<p>Great dev experience, great user experience.
greenyouse大约 6 年前
I guess this is might be easier to set up but you could get something similar on AWS by posting to an S3 bucket and putting pages into CloudFront CDN. Adding CodeCommit could automate deployment for $1&#x2F;month or you could write a script to publish new pages for free.
评论 #19948973 未加载
jimmyislive大约 6 年前
I have done the same for <a href="https:&#x2F;&#x2F;jimmyislive.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jimmyislive.dev&#x2F;</a> (using Github and Netlify). All the code for this site is on GitHub (see the About page)
leverage_55大约 6 年前
I just did this for my product website. It’s been wonderful using netlify and Hugo with the universal theme.<p><a href="https:&#x2F;&#x2F;homemadegrow.com" rel="nofollow">https:&#x2F;&#x2F;homemadegrow.com</a>
tkjef大约 6 年前
just started using netlify after making my own tool that did something similar and being a holdout for awhile. it was a smooth experience and i am now a happy user. put up a mortgage calculator app: <a href="https:&#x2F;&#x2F;www.mortgagecalculator.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.mortgagecalculator.io&#x2F;</a>
jjmiv大约 6 年前
i&#x27;ve used netlify for a few years, its great.<p>I use it with github. wanted to use github pages but was tired with having to use submodules in order for it to recognize the docs folder.
tchaffee大约 6 年前
Has anyone done something similar with GatsbyJS by any chance?
评论 #19948004 未加载
mothsonasloth大约 6 年前
Its cool but I think hosting and configuring your own site&#x2F;blog can be a rewarding experience.<p>Only last week I had to figure out why a file called btmp in &#x2F;var&#x2F;log was so huge.<p>Then I discovered fail2ban