This simple web application using Python Flask use for education purposes.
There are the steps required to get it working on linux.
- Установи зависимости ОС
- Установи зависимости приложения
- Разверни исходный код приложения
- Запусти веб-сервер
Python and its dependencies
apt-get install -y python3 python3-pip
Install Flask framework
pip3 install flask
Copy source to /opt dir
cp app.py /opt
Start web command
FLASK_APP=/opt/app.py flask run --host=0.0.0.0 --port=5000
Open a browser and try URL
http://<IP>:5000 => Hello!
http://<IP>:5000/hello%20there => Hello, my friend.