时间:2023-06-23 16:27:01 | 来源:网站运营
时间:2023-06-23 16:27:01 来源:网站运营
怎么创建自己的博客网站?:npm install hexo-cli -g
检查是否安装成功:> node -vv16.13.1> npm -v8.1.2> hexo -vhexo-cli: 4.3.0os: win32 10.0.19042node: 16.13.1v8: 9.4.146.24-node.14uv: 1.42.0zlib: 1.2.11brotli: 1.0.9ares: 1.18.1modules: 93nghttp2: 1.45.1napi: 8llhttp: 6.0.4openssl: 1.1.1l+quiccldr: 39.0icu: 69.1tz: 2021aunicode: 13.0ngtcp2: 0.1.0-DEVnghttp3: 0.1.0-DEV
输入指令出来结果代表环境安装顺利完成!ssh-keygen -t rsa -C "iszhangyongxin@163.com"ssh-keygen -t rsa -C "your email address"
敲回车4次。ssh -T git@github.com
如果结果为:"Hi xxxxx! You've successfully authenticated, but GitHub does not provide shell access." 说明绑定成功。deploy: type: git repository: https://github.com/xxxx/xxx.github.io.git branch: main
部署完以后 一般都是执行 hexo clean| hexo g | hexo s | hexo d
关键词:创建