zjyz2024-github-io.pages.dev Open in urlscan Pro
2606:4700:310c::ac42:2d23  Public Scan

URL: https://zjyz2024-github-io.pages.dev/
Submission: On November 07 via automatic, source certstream-suspicious — Scanned from CA

Form analysis 1 forms found in the DOM

GET //google.com/search

<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden"
    name="sitesearch" value="http://example.com"></form>

Text Content

HEXO

Home Archives


2024-11-07


HEXO部署


NODE.JS安装

Windows使用nvm-windows


GIT安装

Windows使用PortableGit


安装HEXO并初始化

1
2
3
4


npm install hexo -g
hexo init hexo
cd hexo
npm install



启动HEXO

1


hexo server



GITHUB部署

配置_config.yml文件

1
2
3
4


deploy:
  type: git
  repo: git@github.com:username/username.github.io
  branch: main


安装deployer-git

1


npm install hexo-deployer-git --save


推送至GitHub

1


hexo deploy


若第一次推送失败,可以再尝试推送几次

Share
2024-11-07


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 START


CREATE A NEW POST

1


$ hexo new "My New Post"


More info: Writing


RUN SERVER

1


$ hexo server


More info: Server


GENERATE STATIC FILES

1


$ hexo generate


More info: Generating


DEPLOY TO REMOTE SITES

1


$ hexo deploy


More info: Deployment

Share


ARCHIVES

 * November 2024


RECENT POSTS

 * Hexo部署
 * Hello World

© 2024 John Doe
Powered by Hexo
Home Archives