generated from dellevin/template
更新readme
This commit is contained in:
48
README.md
48
README.md
@@ -9,7 +9,10 @@ MookNote 是一款用于记录观影、阅读和笔记的 Android 软件,基
|
|||||||
- 笔记增删改查
|
- 笔记增删改查
|
||||||
- 影评增删改查
|
- 影评增删改查
|
||||||
- 书评增删改
|
- 书评增删改
|
||||||
|
- 豆瓣分享链接爬取
|
||||||
|
- 支持使用网络图片
|
||||||
|
- 添加清除无效图片功能
|
||||||
|
- 优化左侧边栏
|
||||||
|
|
||||||
## 环境要求
|
## 环境要求
|
||||||
|
|
||||||
@@ -64,24 +67,7 @@ cd mooknote
|
|||||||
### 2. 安装依赖
|
### 2. 安装依赖
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
flutter clean
|
|
||||||
flutter pub get
|
flutter pub get
|
||||||
# 如果失败可以先添加代理再进行get
|
|
||||||
$env:HTTP_PROXY="http://127.0.0.1:10808"
|
|
||||||
$env:HTTPS_PROXY="http://127.0.0.1:10808"
|
|
||||||
flutter pub get
|
|
||||||
# 运行
|
|
||||||
flutter run
|
|
||||||
# 构建 APK
|
|
||||||
flutter build apk --release
|
|
||||||
# 或构建 App Bundle(推荐用于 Google Play)
|
|
||||||
flutter build appbundle --release
|
|
||||||
|
|
||||||
# 使用国内镜像构建运行
|
|
||||||
$env:PUB_HOSTED_URL="https://pub.flutter-io.cn"
|
|
||||||
$env:FLUTTER_STORAGE_BASE_URL="https://storage.flutter-io.cn"
|
|
||||||
flutter pub get
|
|
||||||
flutter run
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. 连接设备或启动模拟器
|
### 3. 连接设备或启动模拟器
|
||||||
@@ -98,6 +84,30 @@ flutter run
|
|||||||
- 打开项目
|
- 打开项目
|
||||||
- 点击运行按钮 (Run)
|
- 点击运行按钮 (Run)
|
||||||
|
|
||||||
|
### 其他命令
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 清理依赖
|
||||||
|
flutter clean
|
||||||
|
# 获取依赖
|
||||||
|
flutter pub get
|
||||||
|
# 如果失败可以先添加代理再进行get
|
||||||
|
$env:HTTP_PROXY="http://127.0.0.1:10808"
|
||||||
|
$env:HTTPS_PROXY="http://127.0.0.1:10808"
|
||||||
|
flutter pub get
|
||||||
|
# 运行
|
||||||
|
flutter run
|
||||||
|
# 构建 APK
|
||||||
|
flutter build apk --release
|
||||||
|
# 或构建 App Bundle(推荐用于 Google Play)
|
||||||
|
flutter build appbundle --release
|
||||||
|
# 使用国内镜像构建运行
|
||||||
|
$env:PUB_HOSTED_URL="https://pub.flutter-io.cn"
|
||||||
|
$env:FLUTTER_STORAGE_BASE_URL="https://storage.flutter-io.cn"
|
||||||
|
flutter pub get
|
||||||
|
flutter run
|
||||||
|
```
|
||||||
|
|
||||||
## 技术栈
|
## 技术栈
|
||||||
|
|
||||||
- **Flutter**: 跨平台移动应用框架
|
- **Flutter**: 跨平台移动应用框架
|
||||||
@@ -109,7 +119,7 @@ flutter run
|
|||||||
**5. 图片文件存储路径:**
|
**5. 图片文件存储路径:**
|
||||||
|
|
||||||
- 数据库:`/mooknote/mooknote.db`
|
- 数据库:`/mooknote/mooknote.db`
|
||||||
- 图片:`/mooknote/images/图片文件名`
|
- 图片:`/mooknote/images/类别(影视/图书/笔记)/类别下的条目id/图片文件名`
|
||||||
|
|
||||||
**注意:**
|
**注意:**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user