Flask

Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in Python.

Flask subscription active
You will receive email notifications for new publications on Flask.
60 Results
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 18.04

    In this guide, we will be setting up a simple Python application using the Flask microframework on Ubuntu 18.04. The bulk of this article will be about how to set up the uWSGI application server to launch the applicat...
    By Justin Ellingwood, Kathleen Juell Python Python Frameworks Nginx Ubuntu Ubuntu 18.04 Flask
  • Tutorial

    How To Make a Web Application Using Flask in Python 3

    Flask is a small and lightweight Python web framework that provides useful tools and features making creating web applications in Python easier. In this tutorial, you'll build a small web blog using Flask and SQLite i...
    By Abdelhadi Dyouri Python Frameworks Programming Project Development Python Flask SQLite
  • Tutorial

    How To Build and Deploy a Flask Application Using Docker on Ubuntu 18.04

    Docker is an Open Source application that allows administrators to create, manage, deploy, and replicate applications using containers. Flask is a web micro-framework that is built on Python. In this tutorial, you wil...
    By Michael Okoh Docker Nginx Ubuntu 18.04 Flask
  • Tutorial

    How To Structure Large Flask Applications

    In this DigitalOcean article, we learn how to create an application directory and structure it to work with modules / packages. These modules (flask blueprints) allow the development of re-usable components.
    By O.S. Tezer Python Frameworks Python Development Programming Project Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 16.04

    In this guide, we will be setting up a simple Python application using the Flask micro-framework on Ubuntu 16.04. The bulk of this article will be about how to set up the uWSGI application server to launch the applica...
    By Justin Ellingwood Python Python Frameworks Nginx Ubuntu Ubuntu 16.04 Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on Ubuntu 20.04

    In this guide, you will build a Python application using the Flask microframework on Ubuntu 20.04. The bulk of this article will be about how to set up the uWSGI application server and how to launch the application a...
    By Kathleen Juell, Mark Drake Nginx Ubuntu Python Python Frameworks Ubuntu 20.04 Flask
  • Tutorial

    How To Handle Errors in a Flask Application

    In this tutorial, you'll build a small web application that demonstrates how to handle common errors one encounters when developing a web application. You'll create custom error pages, use the Flask debugger to troubl...
    By Abdelhadi Dyouri Flask Python Development
  • Tutorial

    How To Use Templates in a Flask Application

    Jinja is the templating language that Flask uses to render HTML templates. Using templates allows you to separate the business logic of your application from the presentation logic. These templates provide many featur...
    By Abdelhadi Dyouri Python Flask Development Python Frameworks
  • Tutorial

    How To Deploy a Flask App Using Gunicorn to App Platform

    In this tutorial we will deploy a Flask App Using Gunicorn to DigitalOcean's App Platform.
    By Mason Egger Python Python Frameworks DigitalOcean App Platform Flask
  • Tutorial

    How To Serve Flask Applications with uWSGI and Nginx on CentOS 7

    In this guide, we will be setting up a simple Python application using the Flask micro-framework on CentOS 7. The bulk of this article will be about how to set up the uWSGI application server to launch the application...
    By Justin Ellingwood Python Frameworks Deployment Nginx Python CentOS Flask
  • Tutorial

    How To Create Your First Web Application Using Flask and Python 3

    Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python Language. In this tutorial, you'll build a small web application that renders HTML text o...
    By Abdelhadi Dyouri Development Flask Python Python Frameworks
  • Tutorial

    How To Use One-to-Many Database Relationships with Flask and SQLite

    Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you will use Flask with SQLite to...
    By Abdelhadi Dyouri Python Frameworks Python Development Databases Flask SQLite
  • Tutorial

    How To Make a URL Shortener with Flask and SQLite

    In this tutorial, you will build a URL shortener, which is a service that takes any URL and generates a shorter, more readable version like bit.ly. You will use Flask, SQLite, and the Hashids library to build your URL...
    By Abdelhadi Dyouri Flask Python Programming Project HTML SQLite
  • Tech talk

    Getting Started With Flask

    Learn how to use Flask — a Python micro web framework, to build your web applications. See how Flask handles routing, web page templating, and more.
    By Mason Egger Tech Talks Flask Python Frameworks
  • Tutorial

    How To Use Many-to-Many Database Relationships with Flask and SQLite

    In this tutorial, you’ll modify an application built using Flask and SQLite by adding a Many-to-Many relationship to it. A many-to-many database relationship is a relationship between two tables where a record in each...
    By Abdelhadi Dyouri Flask Python Python Frameworks SQLite
  • Tutorial

    How To Use Python-Markdown with Flask and SQLite

    Python-Markdown is a Python library that allows you to convert Markdown text to HTML; it mostly follows the Markdown standard with a few minor differences to the standard Markdown syntax. In this tutorial, you'll use ...
    By Abdelhadi Dyouri Flask Python HTML
  • Tutorial

    How To Modify Items in a One-to-Many Database Relationships with Flask and SQLite

    Flask is a framework for building web applications using the Python language, and SQLite is a database engine that can be used with Python to store application data. In this tutorial, you'll modify items in an applica...
    By Abdelhadi Dyouri Flask Python Python Frameworks SQL Databases SQLite
  • Question

    (Flask+Gunicorn+Nginx) Socket file problem: No such device or address

    As I was following on this tutorial: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04 Everything works fine (static pages, dynapic pages, etc.), ...
    Accepted Answer: Solved. You need Add :/bin to your PATH as shown below: Environment=“PATH=/home/artem/env/bin:/usr/bin:/bin” mkdir, readlink etc are in /bin path which is not in the modified PATH
    1 By nixbxs Flask Python Nginx
  • Question

    Reverse Proxy Issue with Nginx

    I have hosted a Flask app using gunicorn on a port on my VM IP address. The app is accessible via http://ip_address:port. Now I want to access via a subdomain. I have the A record to redirect the subdomain and domain ...
    0 By hrshtsharma2012 Flask Nginx
  • Question

    How to make virtualenv accessible in the flask applications with gunicorn guide?

    I'm trying to follow: https://www.digitalocean.com/community/questions/new?tutorial=how-to-serve-flask-applications-with-gunicorn-and-nginx-on-centos-7 However I can't seem to setup the virtualenv without using sudo. ...
    0 By itinneed Flask