Docker is a containerization tool used for spinning up isolated, reproducible application environments. This piece details how to containerize a Django Project, Postgres, and Redis for local development along with delivering the stack to the cloud via Docker Compose and Docker Machine. In the end, the stack will include a separate container for each service: […]
Author: Real Python
Fun with Django’s New Postgres Features
This blog post covers how to use the new PostgreSQL-specific ModelFields introduced in Django 1.8 – the ArrayField, HStoreField, and Range Fields. This post is dedicated to the awesome backers of this Kickstarter campaign put together by Marc Tamlyn, the true playa that made it happen. Playaz Club? Since I’m a huge geek and have […]
Scaffold a Flask Project
Let’s build a command-line utility for quickly generating a Flask boilerplate structure. This is a collaboration piece between Depado and the folks at Real Python. Modeled after the Flask-Skeleton project, this tool will automate a number of repetitive tasks so that you can quickly get a Flask project up and running with the structure, extensions, […]
Dockerizing Flask with Compose and Machine – from localhost to the cloud
Docker is a powerful tool for spinning up isolated, reproducible application environment containers. This piece looks at just that – how to containerize a Flask app for local development along with delivering the application to a cloud hosting provider via Docker Compose and Docker Machine. Updates: 11/16/2015: Updated to the latest versions of Docker – […]
Learn Python the Methodical Way
This is a guest blog post from Zev Averbach – a Python enthusiast who is working on a startup related to his current business, Averbach Transcription. Say hi to him at PyCon 2015! One of the first pieces of advice I got about learning a programming language was from Logan Hanks: “Read the library.” Then […]