Total Pageviews

Thursday, 23 October 2025

搭建基于github issues的静态博客程序ginb

   首先fork 此项目https://github.com/ChrAlpha/ginb,我 fork后,得到的项目地址是

 https://github.com/briteming/ginb。访问https://github.com/briteming/ginb/settings,启用issues.

然后编辑 _config.js:

 https://github.com/briteming/ginb/blob/main/_config.js, 把第5行的username的值改为你的github用户名,把第6行的 repository的值改为你的github仓库名。

 登录https://vercel.com,然后访问vercel.com/new,导入项目  https://github.com/briteming/ginb。在environment variables那一步,Key的值填写GITHUB_TOKEN ,Value的值填写你的GITHUB TOKEN的值。然后点击下方的deploy按钮,等待部署完成。部署完成后,

我得到了网址https://ginb-v359.vercel.app/ ;

 

 

No comments:

Post a Comment