LAMP Stack with Flask

Build your own webserver with Linux, Apache (with WSGI), PostgreSQL, and Flask (Python) and start building web applications!


Part One

Step 1
Ubuntu Server in VirtualBox

Get a Linux virtual machine running as a development server.


Step 2
Install LAMP Components

Install the various components for our LAMP stack: Apache, PostgreSQL, and Python.


Step 3
Initialize Flask and Apache

Build the basic structure for Flask and configure Apache to run the Flask framework with WSGI.




Part Two

Step 4
Design and Build a Database

Look into the database we will use for our project, how the design affects the product, and build it.


Step 4
Setup Flask and SQLAlchemy

We get the pre-made Flask app and set it up, connect our database to Flask with SQLAlchemy, and finish the tutorial!