Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周田
vue_django_test
Commits
3832efdc
Commit
3832efdc
authored
Aug 22, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:使用 poetry 管理项目,添加 readme
parent
1c011d0c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
0 deletions
+57
-0
README.md
README.md
+37
-0
poetry.lock
poetry.lock
+0
-0
pyproject.toml
pyproject.toml
+20
-0
No files found.
README.md
0 → 100644
View file @
3832efdc
## 介绍
-
master 分支,主要为后端接口
-
fh 分支,为界面

各个文件夹或文件作用
-
chat:测试 websocket 的模块
-
device_communication:device 通信参数模块
-
device_data_op:对 device 已有的表的操作模块
-
download_db:测试 下载 sqlite 文件模块
-
frontend:前端文件夹
-
mqtt:测试 mqtt 连接与发送内容的模块
-
protocol_version_manage:协议版本控制模块
-
scripts_generate:测试 脚本生成模块
-
vue_django:django 项目主模块
-
db.sqlite3:没用
-
manage.py:django 项目启动文件
-
poetry.lock,pyproject.toml:poetry 的管理文件
-
xdc.sqlite:device 数据库
## 安装依赖
1.
在 conda 创建的虚拟环境中下载 poetry
```
pip install poetry
```
2.
使用 poetry 命令下载依赖
```
poetry install
```
## 运行项目
使用
`python manage.py runserver`
运行项目(目前运行项目只有接口,可能只能通过接口调试工具来测试)
poetry.lock
0 → 100644
View file @
3832efdc
This diff is collapsed.
Click to expand it.
pyproject.toml
0 → 100644
View file @
3832efdc
[tool.poetry]
name
=
"vue-django"
version
=
"0.1.0"
description
=
""
authors
=
[
"ZutJoe <zhout50@163.com>"
]
readme
=
"README.md"
[tool.poetry.dependencies]
python
=
"^3.9"
django
=
"3.2.19"
djangorestframework
=
"^3.14.0"
channels
=
{extras
=
["daphne"]
,
version
=
"^4.0.0"
}
drf-yasg
=
"^1.21.7"
paho-mqtt
=
"^1.6.1"
protobuf
=
"3.20.1"
[build-system]
requires
=
["poetry-core"]
build-backend
=
"poetry.core.masonry.api"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment