Files
chongming_lite/README.md
T
2026-03-06 17:57:44 +08:00

59 lines
791 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# chongming
[TOC]
作者: chakcy
版本: 0.1.0
## 运行项目
uv 环境
```shell
uv run serve
```
纯 python 环境
```shell
python -m venv .venv
source .venv/bin/activate # windwows 命令为 .venv\Scripts\activate
pip install -r requirements.txt
pip install -e .
serve
```
## 打包项目
uv 环境
```shell
uv run build
```
纯 python 环境
```shell
source .venv/bin/activate # windwows 命令为 .venv\Scripts\activate
build
```
打包出来的文件在 build 目录下
```text
build
├── resources
│   ├── chongming.ico
│   ├── plugins.mbank
│   └── app.mbank
├── config.toml
├── db.sqlite3
└── chongming # windows chongming.exe
```
运行打包后的项目
```shell
cd build
chongming # windows chongming.exe
```