Skip to content
Deploying Flask App on Linode
HTML Python CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Simple Flask CRUD Web Application

This is a very simple Flask Application where user can log in and create posts.

Application Breakdown

This is the breakdown of a fairly simple Flask Application using a SQLite database

│   .gitignore
│   │
│   │
│   │
│   │
│   │   requriments.txt
│   │   site.db
│   │
│   └───static
│   │   │   ...
│   │
│   └───templates
│   │   │   ...

Flask Frameworks

These are the Flask libraries used in this Project. You'll find these in the requirements.txt file.

Deploying Locally

Lets walk through setting up your development environment and deploying this application on your local machine

  1. Install Python, pip, and virtualenv
  1. Clone this repo and CD into the projects directory
git clone flask_app_project
cd flask_app_project
  1. Create and activate a virtualenv
virtualenv venv
source venv/bin/activate
  1. Install packages
pip install -r flask_app/requirements.txt
  1. Create Flask environment variables
export FLASK_APP=flask_app/
export FLASK_ENV=development
  1. Run it
flask run

Next Steps

You can’t perform that action at this time.