1 Star 0 Fork 0

四则运算 / StudentPractice

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

StudentPractice

项目介绍

This project serves as the student exercises four arithmetic questions

软件架构

技术栈

  1. web:flask
  2. orm:Sqlalchemy
  3. database:Mysql
  4. 模板引擎 Jinja2
  5. ...

项目结构

-StudentPractice
 |-app 配置文件目录
    |-conf 配置文件目录
    |-web (视图函数)控制器目录
    |-common 公共方法目录
    |-forms 表单验证类
    |-models 数据库访问目录
    |-static 静态资源目录
    |-service 业务处理目录
    |-templates 模板文件目录
    |-view_models 视图模型
    |-app.py 应用配置
 |-test 测试程序目录
 |-run.py 程序主入口
 |-Pipfile pipenv依赖管理文件

安装教程

  1. 安装列表是通过读取pipfile, pipfile.lock文件实现的, 如果没有这两个文件就根据requirements.txt生成pipfile和pipfile.lock并读取.

    pipenv install
  2. 用命令生成requirements 文件

    pipenv lock -r --dev > requirements.txt
  3. 只安装在开发环境中

    pipenv install --dev requests
  4. 通过requirements.txt安装包

    pipenv install -r requirements.txt

    这样我们可以重用之前的requirement.txt

    文件来构建我们新的开发环境,可以把我们的项目顺利的迁到pipenv。

  5. 生成lockfile

    pipenv lock

使用说明

  1. 登录
  2. 加入班级
  3. 做题

About

This project serves as the student exercises four arithmetic questions expand collapse
Python
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://gitee.com/calcu/calc.git
git@gitee.com:calcu/calc.git
calcu
calc
StudentPractice
master

Search