开源实例之Perun
前言
Simple, composable static site generator built on top of the Boot. Inspired by Boot task model and Metalsmith. Perun is a collection of boot tasks that you can chain together and build something custom that suits your needs.
实例地址
实例配置
配置 | 描述 |
---|---|
系统 | Debian |
开发环境服务端 | Java 1.8 |
服务器 | Nginx |
程序 | Perun 0.4.2 |
数据 | jstaffans blog |
实例部署
权限要求
- 具有系统读写权限
- 已安装 Java
- 已安装 Nginx
安装程序
官网地址:https://perun.io
程序仓库:https://github.com/hashobject/perun
数据仓库:https://github.com/jstaffans/jstaffans.github.io.git
#安装 boot
sudo bash -c "cd /usr/local/bin && curl -fsSLo boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh && chmod 755 boot"
#克隆代码
git clone -b static-perun https://github.com/jstaffans/jstaffans.github.io.git blog
#安装依赖并生成静态文件 target/public
cd blog
boot build target
实例体验
后记
本实例仅供参考,不定期重置数据。