Skip to content

xygithub2023/python3-flask-0-12-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flask web service

Language Framework Platform
Python Flask ServiceStage Web, CCE Cluster

This sample code helps get you started with a simple Python web application deployed by ServiceStage Web App to a CCE Cluster.

This sample includes:

  • README.md
  • License.md
  • flask - this directory contains the flask framework
  • click,jinja2.markupsafe,werkzeug, itsdangerous - these directories and file contain the modules which flask framework requires.
  • static - this directory contains your web pages and static files
  • app.py - entrance of the project.

Getting Started

Clone your code repository and start developing your application on IDE of your choice

  1. Install pyrhon(3.X), See https://www.python.org/downloads/

  2. Get into the directory

     $ cd python3Flask-webapp
    
  3. Run the web application

     $ python app.py
    
  4. Open http://localhost:8080/ in a web browser to view your application.

  5. More examples http://localhost:8080/hello/{your name} http://localhost:8080/login

if you want to deploy the sample code on servicestage, View your CI/CD pipeline and service stack on ServiceStage and customize it as per your needs

License:

See LICENSE.

Contributing

About

Auto created by ServiceStage!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Other 1.1%