Total Pageviews

5,441,261

Friday, 28 February 2025

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


  首先 fork 此项目https://github.com/eyasliu/eyasliu.github.io,我fork 后的项目地址是https://github.com/briteming/egi ,然后访问https://github.com/briteming/egi/settings,勾选issues. 新建一些issues.

   编辑config.js文件- https://github.com/briteming/egi/blob/master/config.js,把user和repo的值分别改为你的github用户名和仓库名。

然后访问app.netlify.com ( 需先登录),导入项目https://github.com/briteming/egi.

 在来到如下页面https://app.netlify.com/start/repos/briteming%2Fegi时,

在 Site name栏,填写一个你所选择的二级域名,我选择的是egi-brite ,


 Base directory栏的值,填   ./ (意思就是项目的根目录)

 Build command栏的值,填 npm run build

 Publish directory栏的值,填  ./ (因为项目的根目录下有index.html, 所以 Publish directory其实就是项目的根目录)

然后点击页面底部的 deploy按钮。等待部署完成,部署完成后,app.netlify.com网站给我的网址是https://egi-brite.netlify.app

演示网站: https://egi-brite.netlify.app/

项目地址:https://github.com/eyasliu/eyasliu.github.io

https://github.com/briteming/egi

---------------------------------------------

 首先 fork 此项目https://github.com/eyasliu/eyasliu.github.io,我fork 后的项目地址是https://github.com/ymbrite/egi

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

   编辑config.js文件- https://github.com/ymbrite/egi/blob/master/config.js,把user和repo的值分别改为你的github用户名和仓库名。

然后访问vercel.com/new ( 需先登录),导入项目https://github.com/ymbrite/egi.

部署完成后,vercel.com/new网站给我的网址是https://egi-blond.vercel.app/

演示网站:https://egi-blond.vercel.app/

项目地址:https://github.com/eyasliu/eyasliu.github.io

https://github.com/ymbrite/egi




No comments:

Post a Comment