杜郎俊赏 - dujun.io

开源实例之yst

前言

yst is a tool for generating a static website by filling string templates with data taken from YAML or CSV text files or SQLite3 file based databases. This approach combines the speed, security, and ease of deployment of a static website with the flexibility and maintainability of a dynamic site that separates presentation and data.

yst 是 Haskell 语言开发的静态网站生成器。

实例地址

http://yst.dujun.eu.org

实例配置

配置描述
系统Debian
开发环境服务端Haskell
服务器Nginx
程序yst 0.7.2

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Nginx

安装程序

仓库地址:https://github.com/jgm/yst

#安装依赖
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

#安装 yst
cabal update
cabal install yst

#创建网站项目
yst create mysite

#生成静态文件 site/
cd mysite
yst

实例体验

首页

活动

进入实例深度体验

后记

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

体验更多开源实例

标签: 开源实例 运营开源实例 静态网站开源实例 Haskell开源实例
日期:2023-07-07