Giter Club home page Giter Club logo

flask-cn's Introduction

                          // Flask //

              web development, one drop at a time
                      Web 开发,一点一滴


    ~ 什么是Flask?
      
      Flask是Python环境下的一个基于Werkzeug和Jinja2的微型网络应用框架。
      Flask凝结着我们最强烈的意向,它适合小规模的网络应用程序。

    ~ Flask准备好了吗?
      
      Flask还没有到1.0版,但是已经被塑造的很好,而且被广泛应用了。
      未来,API也许会有一些小的变动,但是我们不会去阻止这些变动。

    ~ 我需要准备些什么?

      Jinja 2.4 和 Werkzeug 0.6.1.  
      如果你希望通过 `easy_install Flask` 来安装Flask,
      那么你需要先安装 `pip` 或者 `easy_install` 。
      我们建议使用一个虚拟环境(virtualenv)。
      更多细节请查阅文档中有关Flask安装以及使用说明的部分。

    ~ 文档在哪里?

      浏览 http://flask.pocoo.org/docs/ 
      你将会看到一个还未编译成册的最新版本的在线文档。
      当然,你也可以自己利用文档的Sphinx源代码(ReST)生产其他格式的文档。

    ~ 如何测试Flask程序?

      问的非常好。
      测试程序在 flask/testsuite 包中。
      可以用 `run-tests.py` 文件运行测试:
      
        $ python run-tests.py
      
      如果还不能获得足够的输出信息,
      那么你可以使用 `--verbose` 参数:

        $ python run-tests.py --verbose

      如果你只想运行一个测试用例,
      那么你可以在命令行中这样输入:

        $ python run-tests.py test_to_run

    ~ 我可以从哪里获得帮助?
      
      可以通过 #pocoo IRC 频道(irc.freenode.net)
      或者在邮件列表中提问,
      邮件列表地址: http://flask.pocoo.org/mailinglist/

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.