Posts in tag

Flask


Overview This guide shows how to use the Flask Project as a Python API application. But it can also be used as Web App which is covered in a different tutorial. It shows how to perform GET and POST operations. The code contains a preview setup, it can be further enhanced to call a database …

Overview This guide shows how to install and run a basic Flask application. Flask is a Python framework that can be used to create Web and API application.   Prerequisites Python has been installed Installation on Ubuntu Installation on Windows Optional but recommended. Setup a VirtualEnvironment and Pip has been installed. VirtualEnvironment for Ubuntu   …

Overview This is the 2nd part of the 3-part guide on Installing, Configuring and Deploying a Python Web/Flask application on an Ubuntu system that uses NGINX and uWSGI. For the installation part go here. For the configuration part go here.   Prerequisites Ubuntu 18.04 Python 3.x has been installed. For instructions see here. Pip and …

Overview This is the 2nd part of the 3-part guide on installing, configuring and deploying a Python Web/Flask application on an Ubuntu system that uses NGINX and uWSGI. For the installation part go here. If you’ve finished Installation and Configuration you can go here to deploy the app. Prerequisites Ubuntu 18.04 Python 3.x has been installed. …

Overview This tutorial will guide you in creating a simple Web/Flask Python application and deploy it on an NGINX server with uWSGI and uWSGI Emperor. This part 1 covers the installation of the required packages. It will install the following: NGINX uWSGI uWSGI-Emperor Flask It will also cover creation of Virtual Environment Installation of python packages …

Prerequisites Operating System: Windows 7 and above Python 3.7 or greater installed Python Pip is installed Python Virtual Environment is installed (Optional)   Structure Overview   Steps 01. Create the necessary directories and files.   02. Update the necessary Python library/packages by setting the value of the geek_flask_api\requirements.txt   03. (Optional but recommended). Create a …

Prerequisites Operating System: Ubuntu 16 or Ubuntu 18 Python 3.X is installed Python Pip is installed Python Virtual Environment is installed (Optional)   Structure Overview Replace the dotlah_flask_api directory with the project name of your choice. Steps 01. Create the necessary directories and files. You can use the following shell script to create it, or …