Lightweight WSGI Python framework with utilities and libraries to create web applications.
Develop Python applications more efficiently. Flask is a free, open source DIY web micro-framework that doesn’t require specific tools or libraries. Flask starts application development with the bare minimum backend logic, but leaves all features and configurations up to you. Flask does not come with object relational mapping, but there are libraries and extensions to integrate a project with your preferred database and more.
Start developing web applications on Python even faster with Linode’s Flask One-Click App.
Getting Started After Deployment
In addition to installing Flask, this One-Click app installs and configures software to support running Flask in a production environment. Below is a list of the installed software:
- The NGINX web server is installed with a basic NGINX configuration, located in
/etc/nginx/sites-enabled/flask_app, and listening on your Linode’s IP address.
- An example Flask application is downloaded to your Linode’s
/home/flask_app_projectdirectory. If you visit your Linode’s IP address, you will see the example Flask application running and serving boiler plate blog content.
- Your example Flask application’s environment will be configured with basic settings located in the
- Gunicorn, a Python WSGI (web server gateway interface) HTTP Server for UNIX, is installed and running. It is used to forward requests from your NGINX web server to your Flask application.
- Supervisor, a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems, is installed and running on your Linode. Its configuration file can be found in the following location,
- The example Flask app’s logs can be found in the following locations,
Now that you are familiar with all the software installed on your Linode with the Flask One-Click app, you can explore the following steps:
- Connect to your Linode via SSH. You will need your Linode’s root password to proceed. You can explore the installed programs and update any configurations as needed. Consider following the steps in the Securing Your Server guide to continue harding your Linode’s security.
- Read through our Deploy a Flask Application on Ubuntu guide, which takes a deeper dive into the example Flask app that is deployed by the One-Click app.
- Visit our Create a GIS Application using Flask, Stadia Maps, and MongoDB guide to learn how to create your own GIS application.
- Consult our How To Create an OAuth App with the Linode Python API Library to learn how to develop a Flask app using Linode’s API to automate creating Linode resources.
This One-Click App was built by Linode. For support regarding app deployment, contact Linode Support via the information listed in the sidebar. For support regarding the tool or software itself, visit Flask Support.