docs: 添加 PolyForm Strict 商业闭源许可协议

This commit is contained in:
Nixevol
2026-07-08 16:51:27 +08:00
parent f9ab1fd1ea
commit 3517ad9088
3 changed files with 116 additions and 0 deletions
+108
View File
@@ -0,0 +1,108 @@
# PolyForm Strict License 1.0.0
<https://polyformproject.org/licenses/strict/1.0.0>
Copyright © 2026 Nixevol. All rights reserved.
Required Notice: Copyright © 2026 Nixevol (https://github.com/nixevol/artveris)
## Acceptance
In order to get any license under these terms, you must agree
to them as both strict obligations and conditions to all
your licenses.
## Copyright License
The licensor grants you a copyright license for the software
to do everything you might do with the software that would
otherwise infringe the licensor's copyright in it for any
permitted purpose, other than distributing the software or
making changes or new works based on the software.
## Patent License
The licensor grants you a patent license for the software that
covers patent claims the licensor can license, or becomes able
to license, that you would infringe by using the software.
## Noncommercial Purposes
Any noncommercial purpose is a permitted purpose.
## Personal Uses
Personal use for research, experiment, and testing for
the benefit of public knowledge, personal study, private
entertainment, hobby projects, amateur pursuits, or religious
observance, without any anticipated commercial application,
is use for a permitted purpose.
## Noncommercial Organizations
Use by any charitable organization, educational institution,
public research organization, public safety or health
organization, environmental protection organization,
or government institution is use for a permitted purpose
regardless of the source of funding or obligations resulting
from the funding.
## Fair Use
You may have "fair use" rights for the software under the
law. These terms do not limit them.
## No Other Rights
These terms do not allow you to sublicense or transfer any of
your licenses to anyone else, or prevent the licensor from
granting licenses to anyone else. These terms do not imply
any other licenses.
## Patent Defense
If you make any written claim that the software infringes or
contributes to infringement of any patent, your patent license
for the software granted under these terms ends immediately. If
your company makes such a claim, your patent license ends
immediately for work on behalf of your company.
## Violations
The first time you are notified in writing that you have
violated any of these terms, or done anything with the software
not covered by your licenses, your licenses can nonetheless
continue if you come into full compliance with these terms,
and take practical steps to correct past violations, within
32 days of receiving notice. Otherwise, all your licenses
end immediately.
## No Liability
***As far as the law allows, the software comes as is, without
any warranty or condition, and the licensor will not be liable
to you for any damages arising out of these terms or the use
or nature of the software, under any kind of legal claim.***
## Definitions
The **licensor** is the individual or entity offering these
terms, and the **software** is the software the licensor makes
available under these terms.
**You** refers to the individual or entity agreeing to these
terms.
**Your company** is any legal entity, sole proprietorship,
or other kind of organization that you work for, plus all
organizations that have control over, are under the control of,
or are under common control with that organization. **Control**
means ownership of substantially all the assets of an entity,
or the power to direct its management and policies by vote,
contract, or otherwise. Control can be direct or indirect.
**Your licenses** are all the licenses granted to you for the
software under these terms.
**Use** means anything you do with the software requiring one
of your licenses.
+6
View File
@@ -141,3 +141,9 @@ docker compose --env-file .env -f docker/docker-compose.full.yml up -d --build
- 后台关键写操作、导入、导出、上传、备份与恢复会记录操作日志;操作日志仅超管可见,保留周期后台可配。
- 查询日志按需完整记录 IP/设备,仅后台可见,用户端不展示;保留周期后台可配。
- 天河链等密钥仅存服务端 env,不下发前端。
## 九、许可协议
本项目为商业闭源软件,采用 [PolyForm Strict License 1.0.0](./LICENSE),版权归 Nixevol 所有。
未经作者书面授权,禁止分发、修改 / 二次开发,或用于任何商业用途;商业授权与合作请联系作者。详见根目录 `LICENSE`。
+2
View File
@@ -214,6 +214,8 @@
- 非 Docker 发布包宝塔部署说明(2026-07-07):`scripts/build_release.py` 生成的发布包新增根目录 `server.cjs`,统一设置 `NODE_ENV=production`、`ARTVERIS_RUNTIME_DIR=./runtime`、`ARTVERIS_PUBLIC_DIR=./apps/api/public` 后启动 `apps/api/dist/main.js`;`ecosystem.config.cjs` 改为标准 `module.exports`,PM2 运行目录为发布包根目录,便于宝塔 Node 项目直接选择根目录 `server.cjs` 作为启动文件。发布包内 `README-deploy.md` 扩展为中文部署手册(UTF-8 BOM),明确宝塔“PM2项目”字段填写:项目名 artveris、Node 20+、启动文件 `/www/wwwroot/artveris/server.cjs`、运行目录 `/www/wwwroot/artveris`、实例 1、内存 1024MB 起、自动重载关闭、包管理器 pnpm、运行用户 www、项目端口/API_PORT 保持一致、绑定两个域名到同一个 Node 服务;安装页填写说明覆盖 Base URL、客户端访问地址、宝塔本机 MySQL/Redis、本地存储目录 `/www/wwwroot/artveris/storage`、CDN 为空等。首次完整发布包构建通过并确认 README/server/ecosystem 已生成;第二次完整构建在 Windows 上遇到 Node/Vite 退出阶段 libuv 断言,随后单独 admin build 通过,判断为本机偶发退出问题。
- 本地安装页调试模式(2026-07-07):`scripts/dev.py` 新增 `--install-mode`。普通 `python scripts/dev.py --auto` 仍是完整开发模式,会生成 `DATABASE_URL`、自动迁移并 seed,因此不会显示安装页;显式运行 `python scripts/dev.py --auto --install-mode` 时,脚本写入 `ARTVERIS_INSTALL_MODE=1`,清理临时 `apps/api/runtime/install-dev`,跳过 Prisma migrate/seed,只启动 API 和 `@artveris/install` Vite 服务,安装页地址为 `http://localhost:5175`。本地安装调试会把 MySQL/Redis 默认值预填为脚本当前数据源(auto 默认为 `127.0.0.1:3307` / `127.0.0.1:6380`),并仅在 `INSTALL_PREFILL_SECRETS=1` 时向安装页回填默认密码,避免生产安装页泄露环境密码。`isInstallMode()` 调整为强制安装模式下若已存在 runtime 配置则自动回到正式模式,安装完成重启后不会一直卡在安装页。
- 许可协议(2026-07-08):项目为商业闭源,根目录 `LICENSE` 采用 **PolyForm Strict License 1.0.0** 官方原文,版权归 Nixevol;含 `Required Notice: Copyright © 2026 Nixevol`。该许可仅允许非商业用途,禁止分发、禁止修改/二次开发;商业授权需联系作者。远程仓库 `https://github.com/nixevol/artveris`(私有,默认分支 master)。
## 代码导航地图(2026-07-08 通读沉淀,供后续开发快速定位)
> 本节是一次性代码通读结论,用于快速定位模块;具体行为以上文时间线与实际代码为准。