geekyouth / geekyouth.github.io

👣极客青年博客😘,基于github pages+issues + VUE 2.0 框架构建的轻量级静态博客系统💎[速度慢请翻墙]
https://java666.cn
39 stars 6 forks source link

关于 Spring blog 项目简介 #2

Closed geekyouth closed 2 years ago

geekyouth commented 6 years ago

本文由 简悦 SimpRead 转码, 原文地址 https://github.com/zhaoda/blog/issues/1

关于 Spring

Spring 是一个通过 GitHub Issues 撰写内容的博客引擎,或者说是一个简单、静态化的建站系统。不需要服务器和数据库支持,你可以把它作为一个 GitHub 代码仓库,并托管在免费的 GitHub Pages 上运行,然后在这个仓库的 Issues 系统里撰写日志。

你可以在这个仓库的 Issues 系统里添加 labels 标签,这些标签会成为博客的分类,然后新建 Issues,并用 Markdown 语法写日志。

Spring 拥有响应式的页面设计,可以在手机、平板和桌面端完美展现;支持 IE10 + 和所有现代浏览器,底端设备做了跳转的降级处理。

你可以快速的安装并运行这个系统。

快速安装

首先

然后

$.extend(spring.config, {
  // my blog title
  title: 'Spring',
  // my blog description
  desc: "A blog engine written by github issues [Fork me on GitHub](https://github.com/zhaoda/spring)",
  // my github username
  owner: 'zhaoda',
  // creator's username
  creator: 'zhaoda',
  // the repository name on github for writting issues
  repo: 'spring',
  // custom page
  pages: [
  ]
})

接下来

最后

定制开发

安装部署

目录结构

spring/
├── css/
|    ├── boot.less  #import other less files
|    ├── github.less  #github highlight style
|    ├── home.less  #home page style
|    ├── issuelist.less #issue list widget style
|    ├── issues.less #issues page style
|    ├── labels.less #labels page style
|    ├── main.less #commo style
|    ├── markdown.less #markdown format style
|    ├── menu.less #menu panel style
|    ├── normalize.less #normalize style
|    ├── pull2refresh.less #pull2refresh widget style
|    └── side.html  #side panel style
├── dist/
|    ├── main.min.css  #css for runtime
|    └── main.min.js  #js for runtime
├── img/  #some icon, startup images
├── js/
|    ├── lib/  #some js librarys need to use
|    ├── boot.js  #boot
|    ├── home.js  #home page
|    ├── issuelist.js #issue list widget
|    ├── issues.js #issues page
|    ├── labels.js #labels page
|    ├── menu.js #menu panel
|    ├── pull2refresh.less #pull2refresh widget
|    └── side.html  #side panel
├── css/
|    ├── boot.less  #import other less files
|    ├── github.less  #github highlight style
|    ├── home.less  #home page style
|    ├── issuelist.less #issue list widget style
|    ├── issues.less #issues page style
|    ├── labels.less #labels page style
|    ├── main.less #commo style
|    ├── markdown.less #markdown format style
|    ├── menu.less #menu panel style
|    ├── normalize.less #normalize style
|    ├── pull2refresh.less #pull2refresh widget style
|    └── side.html  #side panel style
├── dev.html #used to develop
├── favicon.ico #website icon
├── Gruntfile.js #Grunt task config
├── index.html #used to runtime
└── package.json  #nodejs install config

自定义

构建

$ npm install
$ grunt

有问题可以提交 Bug

谁在用

如果你也在使用 Spring, 请告诉我

协议

Spring 遵循 MIT 协议,欢迎使用。

geekyouth commented 6 years ago

注意这里的 Spring 并非 Spring 全家桶系列 🥇 不要混淆啦