Code Monkey home page Code Monkey logo

migu_community's Introduction

代码规范

  • 项目使用python2.7版本
  • 数据库为mongodb, 版本>=3.0
  • 关系数据库为mysql, 版本>=5.6
  • 缓存使用redis, 版本>=3.0
  • 项目遵循flake8编码格式, 每行字符调整为不超过100
  • 项目新增库需要记录在requirements.txt文件中
  • 及时删除无用代码
  • 代码提交之前需要执行测试用例(runtest.py)并全部通过
  • 每次提交代码必须写明注释
  • 新增接口要写相应的接口测试
  • 代码提交忽略logs和static目录

目录介绍

  • docs: API文档
  • files: 需要使用的额外文件
  • config.py: 配置文件
  • runadmin.py: 启动本地admin(编辑后台)服务
  • runserver.py: 启动本地api(核心接口)服务
  • runasyncserver.py: 异步方式启动本地api(核心接口)服务
  • runtest.py: 执行测试用例
  • wanx: 核心代码
  • wanx.admin:admin(编辑后台)相关代码
  • wanx.base:基础库
  • wanx.models: 数据抽象定义和操作
  • wanx.platforms: 第三方平台相关
  • wanx.share: 分享模块
  • wanx.tests: 测试用例模块
  • wanx.views: API接口模块

migu_community's People

Contributors

mazhenpy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.