Say where the service is running
The service is deployed at apsis.focus1024.com. The README says so and says what it is: the same documents, graphs, interface catalogue and tools, from the same build. That is worth stating because it is not true of every project — everything the service serves is inside the binary, so a copy built from the source is the same service rather than a similar one. The crate metadata names the same address as its homepage and the repository it comes from. The deployed instance was compared against a local build by the content hash in its asset names, which is the same in both, and the health endpoint reports the same counts as the source: thirty-one documents, nine layers, thirty-seven graph nodes, forty crates, twelve hundred and two items, nine tools.
This commit is contained in:
parent
6403e50192
commit
84d229de4b
|
|
@ -18,7 +18,10 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
rust-version = "1.85"
|
||||
license = "GPL-3.0-or-later"
|
||||
description = "Web service for the ApsisRS computational kernels."
|
||||
description = "The documentation and tool service for the ApsisRS computational kernels."
|
||||
homepage = "https://apsis.focus1024.com/"
|
||||
repository = "https://git.focus1024.com/ApsisRS/apsis-book"
|
||||
readme = "README.md"
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -12,6 +12,17 @@ The service builds to a single binary that embeds every asset it serves. It
|
|||
does not read a content directory or a frontend build at run time, and it
|
||||
does not need either to be present next to the binary.
|
||||
|
||||
## The running service
|
||||
|
||||
The service is deployed at <https://apsis.focus1024.com/>. It serves this
|
||||
project: the same documents, graphs, interface catalogue, and tools, from the
|
||||
same build. Nothing about it is particular to a deployment, because
|
||||
everything it serves is inside the binary, so a copy built from the source is
|
||||
the same service.
|
||||
|
||||
The deployed instance opens in Chinese and can be switched to English from
|
||||
the top bar.
|
||||
|
||||
## What it serves
|
||||
|
||||
| Section | Content | Route prefix |
|
||||
|
|
|
|||
|
|
@ -9,6 +9,14 @@ ApsisRS 计算内核:概念文档、知识图谱、从库源码中提取的接
|
|||
服务构建为单一二进制,其中嵌入了它所服务的全部资源。运行时不读取内容目录,
|
||||
也不读取前端构建产物;二进制旁边不需要存在这两者。
|
||||
|
||||
## 线上服务
|
||||
|
||||
服务部署在 <https://apsis.focus1024.com/>,提供的就是本项目的内容:同样的文档、
|
||||
图谱、接口目录与工具,出自同一份构建。它没有任何与特定部署相关之处——它所服务的
|
||||
一切都内嵌在二进制里,因此从源码构建出的副本就是同一个服务。
|
||||
|
||||
线上实例默认以中文打开,可在顶栏切换到英文。
|
||||
|
||||
## 服务内容
|
||||
|
||||
| 板块 | 内容 | 路由前缀 |
|
||||
|
|
|
|||
Loading…
Reference in New Issue