| Language | Framework | Platform |
|---|---|---|
| Python | Django | 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
- manage.py - a command line tool that helps you interact with the Django project.
- django - this directory contains the Django framework
- pytz - this directory contians the module which the Django frame work requires.
- static - this directory contains your web pages and static files
- webapp - this directory contains the settings, the URL declaration and the entrance
Clone your code repository and start developing your application on IDE of your choice
-
Install pyrhon(3.X), See https://www.python.org/downloads/
-
Get into the directory
$ cd python3Django-webapp -
Run the web application
$ python manage.py runserver 0.0.0.0:8080 -
Open http://localhost:8080/ in a web browser to view your application.
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
See LICENSE.