首先fork此项目https://github.com/zeikar/issueage,我fork后的项目地址是https://github.com/briteming/issueage。然后访问https://github.com/briteming/issueage/settings,勾选issues. 然后,新建一些issues.
然后编辑config.json - https://github.com/briteming/issueage/blob/master/config.json,把repoOwner 和repoName的值分别改为你的github用户名和仓库名。
然后访问https://app.netlify.com/,点击页面右上角的add new site, 在弹出的下拉菜单中,选择
importing an existing project.
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage (master)
$ ls
CONTRIBUTING.md node_modules/ public/ yarn.lock
LICENSE.txt package-lock.json rollup.config.js
README.md package.json src/
config.json prettierrc.json tsconfig.json
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage (master)
$ find . -name index.html
./node_modules/livereload/examples/index.html
./public/index.html
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage (master)
$ ls public
build/ favicon.png global.css index.html
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage (master)
$ cd public
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage/public (master)
$ ls
build/ favicon.png global.css index.html
(可见, public 目录就是静态网站的根目录)
12799@DESKTOP-B6LK9IO MINGW64 ~/issueage/public (master)
$ serve -l 2356
No comments:
Post a Comment