Django on Apache – with Python 3 and Apache mod_wsgi on Ubuntu 16.04

Install Python 3 Django on Apache, similar to production installations. These terse notes show how to install Python Django, configure it to use templates and access PostgreSQL database. Finally, we create a simple app to read records from database and … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Django on Apache – with Python 3 and Apache mod_wsgi on Ubuntu 16.04

Write Python 3 Web Apps with Apache2 mod_wsgi – Install Ubuntu 16.04 xenial – Every Tiny Part Tested Separately

Python is a popular language for web applications, used by Youtube, DropBox, Facebook, Pintrest, Reddit, Instagram, Spotify, Washington Post and many others. Apache is the most popular web server in the world. Mod_wsgi is the recommended way to use Python … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

When files change, take action – inotify-hookable

Automatically compile your program when you save a file. Or load the new code to a web server. Running a command on save can make development faster and easier. Inotify-hookable makes this simple. It can recursively watch directories, ignore specific … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on When files change, take action – inotify-hookable

Deploy Flask & Python3 on Apache2 & Ubuntu

Deploy Flask, a Python 3 microframework, on Apache web server on Ubuntu. Then you can write your own web pages in Python. Flask is a very simple framework for writing server side applications with Python. This article shows how to … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 13 Comments

Hello WSGI – Python mod_wsgi on Ubuntu 12.04 LTS & Apache2

Run Python on your web server. In this article, we start with xUbuntu 12.04 LTS live CD and install the whole stack from scratch. Mod_wsgi is the recommended way to install Django and many other web frameworks.

Posted in Uncategorized | Tagged , , , , , , , | 3 Comments