# srf_admin_demo **Repository Path**: Wang_LaoSi/srf_admin_demo ## Basic Information - **Project Name**: srf_admin_demo - **Description**: 完整的体验demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2021-07-16 - **Last Updated**: 2023-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SRF与VueAdmin的一个可运行的Demo ## 先运行后端 再运行前段 ## 后端必备的运行条件 + python3.7+ ## 前端必备的运行条件 + Vue3.x + + vuecli 4.x + # 运行教程 > 到 srf_backend 文件夹执行命令,运行后端 ```python # 安装依赖 pip install -r requirements.txt # 迁移数据库 aerich init -t apps.TORTOISE_ORM aerich --app auth init-db aerich --app accessory init-db aerich --app school init-db # 运行程序 python run.py ``` > 到 vue_admin 文件夹执行命令,运行前端 ```python # 安装依赖 npm install # 运行程序 npm run serve ``` ## 访问 http://127.0.0.1:8888/ ## 在线deme -> '待上传'