Total Pageviews

5,441,084

Sunday, 26 January 2025

搭建基于github issue的静态博客程序xgib

 首先fork此项目https://github.com/xyandy/github-issue-blog,我fork后的项目地址是

https://github.com/briteming/xgib,访问https://github.com/briteming/xgib/settings,勾选issues,然后新建一些 issues.

然后访问vercel.com/new,导入项目https://github.com/briteming/xgib/,在来到如下页面时,点击environment variables:

按如下内容,添加全部的环境变量:

GITHUB_OWNER="briteming"
GITHUB_REPO="xgib"
GITHUB_ACCESS_TOKEN="我的github token的值"
NEXT_PUBLIC_BLOG_TITLE="blog of brite"
然后,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://xgib.vercel.app/
演示网站:https://xgib.vercel.app/
项目地址: 
https://github.com/xyandy/github-issue-blog
https://github.com/briteming/xgib/ 

 

No comments:

Post a Comment