Skip to content

rotoro-cloud/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Web Application

This simple web application using Python Flask use for education purposes.

There are the steps required to get it working on linux.

  • Установи зависимости ОС
  • Установи зависимости приложения
  • Разверни исходный код приложения
  • Запусти веб-сервер

1. Install OS dependencies

Python and its dependencies

apt-get install -y python3 python3-pip

2. Install app dependencies

Install Flask framework

pip3  install  flask

3. Deploy the app source code

Copy source to /opt dir

cp app.py /opt

4. Start the webserver

Start web command

FLASK_APP=/opt/app.py flask run --host=0.0.0.0 --port=5000

6. Test

Open a browser and try URL

http://<IP>:5000                            => Hello!
http://<IP>:5000/hello%20there              => Hello, my friend.

About

Simple web app for educational purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages