heyile / py3

Auto created by ServiceStage!

Home Page:https://github.com/heyile/py3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Bottle web service

Language Framework Platform
Python Bottle 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
  • bottle.py - this directory contains the Bottle framework
  • 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(2.X or 3.X), See https://www.python.org/downloads/

  2. Get into the directory

     $ cd pythonBottle-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!

https://github.com/heyile/py3


Languages

Language:Python 96.6%Language:HTML 2.1%Language:CSS 1.3%Language:Dockerfile 0.0%