Build Your Own Blog with Notion and Vercel#
date: April 22, 2023
slug: 22
status: Published
tags: Technology
type: Post
Advantages#
- Low-cost blog setup, only need to purchase your own domain name;
- No maintenance required after deployment, saving energy;
- Notion itself is my main note-taking software, making writing, updating, and migrating easy;
- Fast access speed, global CDN deployment, accessible both domestically and internationally without filing
Deployment Process#
1. Open and copy the template provided by Nobelium#
After copying this template to your own Notion Workspace, set the page to Public
2. Fork the project and deploy it on Vercel#
i. Fork this project on Github
ii. Log in to Vercel, authorize Github, and deploy the repo that was just forked
iii. In the Environment Variables section, fill in NOTION_PAGE_ID
, the value is the Page ID corresponding to the Notion template
iv. Click on deploy, and once successful, you will be able to see the temporary link assigned by Vercel
3. Use CloudFlare to bind your domain name#
i. Add your domain name in Cloudflare and choose the free plan (enjoy the benefits for free)
ii. Set the DNS server to Cloudflare in your domain name provider
iii. Add a CNAME record in Cloudflare, with the content as cname.vercel-dns.com
Customize Your Blog#
In the blog.config.js
file in the Github repository, you can modify the blog's name, author, language, and description
In the public
folder, you can modify the blog's logo