杜郎俊赏 - dujun.io

开源实例之Nikola

nikola-example封面
前言 Nikola, a Static Site and Blog Generator. Nikola 是 Python 语言开发的静态网站和静态博客生成工具。 实例地址 http://nikola.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 Nikola 8.2.4 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 官网地址:https://getnikola.com 仓库地址:https://github.com/getnikola/nikola #安装 Nikola pip install Nikola #创建项目 nikola init blog cd blog #安装模版 nikola theme -i bnw #修改 conf.py THEME="bn...

2023-06-25

开源实例之DocFX

docfx-example封面
前言 Static site generator for .NET API documentation. DocFX 是一个基于.NET的API文档生成器,当前支持 C# 和 VB,可以从源代码和 Markdown 文件生成文档。 实例地址 http://docfx.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 .NET 7.0 服务器 Nginx 程序 DocFX 2.67.3 实例部署 权限要求 具有系统读写权限 已安装 .NET 已安装 Nginx 安装程序 仓库地址:https://github.com/dotnet/docfx #克隆代码 git clone https://github.com/dotnet/docfx.git cd docfx #安装 DocFX dotnet tool update -g docfx #生成静态文件 do...

2023-06-25

中石油免费洗车

petrochina-free-car-wash封面
富阳银湖的中石油现在做活动,加油满 120 送价值 15 元的无人洗车一次。 以前看新闻说洗车机的刷子会伤车漆,从来没用过。但是免费洗车实在很难拒绝,而且端午节要去亲戚家,正好有洗车的需求。第一次尝试,体验非常好。 首先就是我最担心的刷子问题,上前查看是长条状的海绵,质地非常柔软。后来看公众号说是“高分子无孔海绵刷”,强调不伤车漆。至此才放心地去排队洗车。 服务商叫“驿公里洗车”,无人值守,24小时营业。只要按电子屏指示将车停在指定区域,扫码点击开始即可。全程用时五分钟,包含喷淋、刷洗、风干。 在过程中最让我满意的是两个地方,一是手机端醒目显示急停的按钮,二是外面有摄像头可以在手机上实时查看车辆外景。这两点安抚了我初次用洗车机的不安情绪,特别是担心车停歪了被磕碰。 无人洗车的效率比人工强了很多,当然细致程度不如。不过就我而言,洗车满足肉眼可见的干净就可以了,谁没事凑近看车身。15 元的定价...

2023-06-22

Docker拉取被墙镜像

上个月开始,docker hub 无法访问,带来的麻烦是不能用 UI 搜索镜像,但是 docker pull 仍然可用。本以为过段时间可以恢复,结果一个月之后,今天 docker pull 也彻底不能用了。因为开源实例系列镜像托管在 docker hub,必须拉取镜像,所以用 AWS 服务器自建了仓库来中转。 AWS(境外)自建仓库 #创建仓库,对外服务暴露在 5000 端口(dujun.eu.org:5000) docker run -d -v /home/admin/docker:/var/lib/registry -p 5000:5000 --name myregistry registry #拉取 docker hub 镜像并发布到自建仓库 docker pull dujunio/php:8.1 docker tag dujunio/php:8.1 localhost:5000/d...

2023-06-21

开源实例之Cactus静态网站

cactus-website-example封面
前言 本篇是 Cactus 生成的静态网站实例。另有《开源实例之Cactus》为静态博客实例。 实例地址 http://cactus-website.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 Cactus 3.3.3 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 仓库地址:https://github.com/eudicots/Cactus #安装 Cactus pip install cactus #创建项目 cactus create web #生成静态文件 cd web cactus build 实例体验 进入实例深度体验 后记 本实例仅供参考,不定期重置数据。 体验更多开源实例

2023-06-20

开源实例之Cactus

cactus-example封面
前言 Cactus is a simple but powerful static website generator using Python and the Django template system. Cactus also makes it easy to develop locally and deploy your site to S3 directly. It works great for company, portfolio, personal, support websites and blogs. Cactus 是一个简单而强大的静态网页生成器程序,它使用 Python 和 Django 的模板系统。它的本地开发和在 S3 上的部署都非常的简单。 实例地址 http://cactus.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端...

2023-06-20

开源实例之Wintersmith

wintersmith-example封面
前言 Wintersmith is a simple yet flexible static site generator. It takes contents (markdown, less, scripts, etc), transforms them using plugins and outputs a static website (html, css, images, etc) that you can host anywhere. Wintersmith 是一款静态站点生成器。它包括了内容(markdown,less,script 等),使用插件和输出静态网页(html,css,image 等等)来转换。它附带有 markdown 插件和 jade 模版。 实例地址 http://wintersmith.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发...

2023-06-19

开源实例之Lektor静态网站

lektor-website-example封面
前言 本篇是 Lektor 生成的静态网站实例。另有《开源实例之Lektor》为静态博客实例。 实例地址 http://lektor-website.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 Lektor 3.3.10 数据 hh-lektor 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 官网地址:https://www.getlektor.com 程序仓库:https://github.com/lektor/lektor 数据仓库:https://github.com/jurgenizer/hh-lektor #克隆代码 git clone https://github.com/jurgenizer/hh-lektor.git cd hh-lektor...

2023-06-19

开源实例之Lektor

lektor-example封面
前言 Lektor is a static website generator. It builds out an entire project from static files into many individual HTML pages and has a built-in admin UI and minimal desktop app. Lektor 是静态网站生成器,同时内置管理 UI 和极小的桌面应用。 实例地址 http://lektor.dujun.eu.org 实例配置 配置 描述 系统 Debian 开发环境服务端 Python 3.9 服务器 Nginx 程序 Lektor 3.3.10 数据 martin-haecker 实例部署 权限要求 具有系统读写权限 已安装 Python 已安装 Nginx 安装程序 官网地址:https://www.getlektor...

2023-06-19

开源实例之Sphinx

sphinx-example封面
前言 Sphinx makes it easy to create intelligent and beautiful documentation. Sphinx uses reStructuredText as its markup language, and many of its strengths come from the power and straightforwardness of reStructuredText and its parsing and translating suite, the Docutils. Sphinx 使用 reStructuredText 作为标记语言,它的许多优势来自 reStructuredText 及其解析和翻译套件 Docutils 的强大功能和直接性,可以轻松创建智能美观的文档。 实例地址 http://sphinx.dujun...

2023-06-18

分页: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183