Skip to content

choerodon/choerodon-python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{service.code}}

这个示例代码可以帮你快速了解一个简单的 Python Flask 网页应用。

文件解释

样例包括:

  • README.md - 本文件
  • Dockerfile - 用以自动构建 Docker 镜像的脚本
  • requirements.txt - 依赖包文件
  • app.py - 主 Flask 服务器端源代码

快速开始

如下这些引导,假定你想在自己的电脑上开发本项目。

  1. 安装依赖

     $ pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
    
  2. 启动服务器

     $ python app.py
    
  3. 打开 http://127.0.0.1:80/

About

This is a choerodon python template.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published