# izone后台
![](https://img.shields.io/github/repo-size/ZHAISHENKING/izone)
![](https://img.shields.io/github/stars/ZHAISHENKING/izone?style=social)
### 说明
项目功能是 上传图片视频并分类展示
图床使用的是七牛云,可自行注册并开通内容存储
项目未上传本地配置常量文件
`local_settings.py`
内容如下
```python
QINIU_AK = 'ak'
QINIU_SK = 'sk'
QINIU_BUCKET = '七牛云存储镜像'
QINIU_DOMAIN = '七牛云存储域名'
TMP_FILE_NAME = 'clipboard.png'
SQLPWD = "mysql的密码"
```
### 项目使用
1. 启动mysql和redis
2. 首先创建一个数据库名为 `izone`
3. 在系统/目录下创建 data/upload 目录
4. 依次执行下面命令
```bash
pip install -r req.txt
python manage.py db init
python manage.py db migrate
python manage.py db upgrade
# 如果以上都没有问题
python manage.py runserver
```
### 后台管理
启动项目后打开 `localhost:5000/api` 可以看到项目后台
注册超级管理
```python
# python manage shell 命令进入shell
from admins import *
AdminUser.reg('username', 'password')
```
没有合适的资源?快使用搜索试试~ 我知道了~
izone项目python后台izone项目python后台
共72个文件
py:20个
css:12个
js:12个
需积分: 1 0 下载量 126 浏览量
2024-01-17
20:31:59
上传
评论
收藏 867KB ZIP 举报
温馨提示
izone项目python后台izone项目python后台izone项目python后台izone项目python后台izone项目python后台izone项目python后台izone项目python后台
资源推荐
资源详情
资源评论
收起资源包目录
izone项目python后台.zip (72个子文件)
557sdsadasd
users
__init__.py 0B
models.py 2KB
view.py 385B
api.py 3KB
code.py 1KB
form.py 1KB
app.py 3KB
v1
models.py 3KB
api.py 7KB
views.py 1KB
data
public
bootstrap
js
bootstrap.js 68KB
npm.js 484B
bootstrap.min.js 36KB
css
bootstrap.min.css 118KB
bootstrap-theme.css 26KB
bootstrap.css 143KB
bootstrap-theme.min.css 23KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
webuploader
webuploader.css 515B
webuploader.min.js 70KB
jquery-1.11.1.min.js 94KB
utils
__init__.py 53B
common.py 5KB
auth.py 3KB
templates
video.html 666B
upload.html 710B
barcode_scan2.html 3KB
home.html 952B
list.html 266B
scan.html 4KB
up.html 5KB
index.html 2KB
demo.html 2KB
barcode_scan.html 3KB
form.html 1KB
req.txt 697B
manage.py 528B
run.py 537B
v2
socket_api.py 422B
api.py 4KB
.gitignore 1KB
static
6f0a76321d30f3c8120915e57f7bd77e.ttf 11KB
46ac6629168546c71dbf115992aa4be9.eot 7KB
js
app.a45fe59e.js 49KB
chunk-vendors.ed91db40.js 1.06MB
bootstrap
js
bootstrap.js 68KB
npm.js 484B
bootstrap.min.js 36KB
css
bootstrap.min.css 118KB
bootstrap-theme.css 26KB
bootstrap.css 143KB
bootstrap-theme.min.css 23KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
webuploader
webuploader.css 515B
webuploader.min.js 70KB
css
chunk-vendors.246b78c3.css 227KB
app.ea98e650.css 13KB
2fad952a20fbbcfd1bf2ebb210dccf7a.woff 6KB
favicon.ico 1KB
jquery-1.11.1.min.js 94KB
admins
__init__.py 5KB
README.md 1KB
routes.py 2KB
config.py 2KB
共 72 条
- 1
资源评论
zero2100
- 粉丝: 160
- 资源: 2464
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功