lapis

lapis

理解以真实为本,但真实本身不会自动呈现

Build your own blog using Notion and Vercel

Building 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 requiring the purchase of 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, with global CDN deployment, accessible both domestically and internationally without filing

Deployment Process#

1. Open and copy the template provided by Nobelium#

Notion template link

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, enter NOTION_PAGE_ID as the name and the corresponding Page ID of the Notion template as the value

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 select 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 cname.vercel-dns.com

Customizing Your Blog#

You can modify the blog's name, author, language, and description in the blog.config.js file in the Github repository

You can modify the blog's logo in the public folder.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.