杜郎俊赏 - dujun.io

开源实例之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.

实例地址

http://perun.dujun.eu.org

实例配置

配置描述
系统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

实例体验

首页

文章页

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人实例 静态博客实例 Java实例
日期:2023-07-04