DNS check successful TLS certificate is being provisioned. This may take up to 15 minutes to complete. 3 of 3 Certificate Active: The certificate has been activated. Please allow for up to 30 minutes to 1 hour for it to be globally available. If you still see a privacy error, you may need to restart your browser.
然后打开github,点击右上角图形,在弹出菜单中选技Settings,进入设置页面。 选择SSH and GPG keys菜单,在SSH keys项上点击New SSH key,在弹出框中粘贴刚才id_rsa.pub的文件内容。
现在,可以测试一下是否成功了,在终端中输入
1
ssh -T git@github.com
回车,然后再输入yes。
三、在本地生成博客内容
1. 在本地电脑上建一个博客目录,比如~/blog/,在终端上进入这个目录,然后运行
1
hexo init
我在运行时,报了如下错误:
1 2 3 4 5 6 7
(node:67639) ExperimentalWarning: The fs.promises API is experimental INFO Cloning hexo-starter https://github.com/hexojs/hexo-starter.git INFO Install dependencies warning hexo-renderer-stylus > stylus > css > source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated error hexo@6.3.0: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "11.13.0" error Found incompatible module. WARN Failed to install dependencies. Please run 'npm install'in"/Users/tianlibin/blog" folder.
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.