Giter Club home page Giter Club logo

xinpingwang.github.io's Introduction

What's Blog

什么是 What's Blog?

What's Blog 是一个开箱即用的静态博客系统,基于 HexoNext 构建。

如何使用 What's Blog?

1. Fork What's Blog 仓库

What's Blog 仓库 Fork 到个人账户下,并重命名为 your_github_acount_name.github.io

2. 配置自动化构建:

token 生成后,仅当时可见,离开该页面后,将无法再看到该 token,如果忘记只能重新生成

  • 配置 Travis CI 在 Travis CI 注册一个账户,并在设置页面 为上面 fork 的仓库打开自动构建, 此外,还需要配置一个构建环境变量 GITHUB_TOKEN,值为上面生成的 token

3. 修改默认配置

项目中有两个配置文件:一个是 Hexo 的配置文件,另一个是 Next 主题的配置文件

  • Hexo 配置文件 ./_config.yml,需要修改的参数有 titleauthorurlroot
  • Next 主题的配置文件 ./themes/next/_config.yml,需要修改的参数有 social 下面的 GitHubTelegram,如果不需要可以直接将这两行注释掉

将配置修改提交到 GitHub 之后,将触发第二步配置的自动构建,在 Travis CI 的 Dashboard 页面可以查看构建详情,等待构建完成(大约半分钟)后,可以浏览 https://your_github_acount_name.github.io 进行查看。

xinpingwang.github.io's People

Contributors

dependabot[bot] avatar xinpingwang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.