Giter Site home page Giter Site logo

flask_project's Introduction

基于flask框架的一个生产就绪模板。

重要的话说三遍

强烈推荐使用flask,因为django版本升级迭代的太快,api调用给第三方库带来非常多的麻烦。

强烈推荐使用flask,因为django版本升级迭代的太快,api调用给第三方库带来非常多的麻烦。

强烈推荐使用flask,因为django版本升级迭代的太快,api调用给第三方库带来非常多的麻烦。

部署

使用了supervisor作为进程监控。

依赖安装命令:pip install -r reuqirement.txt即可把相关依赖装上,如果出现依赖无法安装

请自行百度解决

supervisor配置文件的名字:flask_project.conf

ubuntu下,并且项目在root下,ln -s /root/flask_project/conf/flask_project.conf /ect/supervisor/conf.d/flask_project.conf

注意,其中**/root/flask_project/conf/flask_project.conf**替换成自己的配置文件的位置。

项目框架以及依赖

flask(主框架)

flask-mongoengine(orm)

flask-socketio(实时模块)

其他功能,请自行集成。

flask_project's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zyxyuanxiao

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.