开源实例之Nib
前言
Nib is a static site generator, written in Python, geared toward creating a simple site or blog. Nib uses a pluggable content pipeline that differentiates between "resources" like CSS or Javascript, and "documents" such as static pages or blog posts. The two pipelines are similar, are executed in parallel, and define multiple hooks where plugins can process a subset of entities, and even remove entities or generate new ones at runtime.
Nib 是 Python 语言开发的静态网站生成器,本实例是基于 Nib 创建的静态博客。
实例地址
实例配置
配置 | 描述 |
---|---|
系统 | Debian |
开发环境服务端 | Python 3.9、Node.js 16 |
服务器 | Nginx |
程序 | Nib 0.5.7 |
实例部署
权限要求
- 具有系统读写权限
- 已安装 Python、Node.js
- 已安装 Nginx
安装程序
项目地址:https://pypi.org/project/Nib
仓库地址:https://github.com/amyreese/nib
#安装依赖
pip3 install nib
npm -g i less
#创建项目
nib wizard
#生成静态文件
nib
实例体验
后记
本实例仅供参考,不定期重置数据。