首先fork此项目https://github.com/taontech/githublog,我fork后的项目地址是https://github.com/briteming/ghb ,然后访问https://github.com/briteming/ghb/settings ,勾选 issues. 然后新建一些issues.
然后编辑 config.json (https://github.com/briteming/ghb/blob/main/config.json). 在第9行,把主机名改为你要导入的空间(比如app.netlify.com)给你的主机名(这个主机名在app.netlify.com网站上,是可以自己设置的,我设置为了ghb-brite.netlify.app),其他要改的地方一看就明白。
然后访问 app.netlify.com,导入项目https://github.com/briteming/ghb/.
点击页面右上角的add new site, 在弹出的下拉菜单中,选择
importing an existing project.
在site name栏里,输入你指定的二级域名,我指定的二级域名是ghb-brite.netlify.app ,然后点击 site name的下方出现的check availability,已确保此二级域名未被他人使用。如果被他人使用了,就只能
https://github.com/taontech/githublog,
我fork后的项目地址是https://github.com/briteming/ghb
https://github.com/briteming/ghb/issues/1


No comments:
Post a Comment