hexo部署到GitHub
一. hexo搭建博客个人搭建博客遇到的问题1:报错:npm安装报错 npm err!code eperm解决方法,是由于node_global文件夹的权限不够,需要将node_global文件夹权限赋予所有权限,点击该文件夹,属性,安全,下面每个组或者用户名都需要赋予全部权限2:网络的问题。可以去设置代理ip,代码如下npm config set proxy=http://127.0.0.1:8087npm config set registry=http://registry.npmjs.org(为设置代理的方法)取消代理如下npm config delete proxynpm config delete https-proxy3:hexo常用命令hexo server启动服务hexo gheox d4:当hexo部署到GitHub报错的时候可以根据以下视频再次跑一遍https://www.bilibili.com/video/BV1Eg41157tL/?spm_id_from=333.880.my_history.page.click&vd_sourc ...
Hello World
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.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment