ActiveBlog

PostgreSQL on the ActivePython AMI
by Troy Topnik

Troy Topnik, March 30, 2011
Postgres and the ActivePython AMI

The ActivePython AMI comes with a demonstration Django app that runs with the MySQL database engine by default. Since a lot of people prefer PostgreSQL, we thought we'd demonstrate how to install the software and change the configuration.

So, we've written a new tutorial: Using PostgreSQL on the ActivePython AMI

We've also gathered the other AMI tutorials together on the ActiveState Docs site so that there can be a canonical location for this information.

SQLite too!

We also wanted to show how the ActivePython AMI Toolkit switches between "production" and "non-production" environments. You can run the demo site locally using the Django development server and SQLite, then push it into production on EC2 where it will use Apache and PostgreSQL (or MySQL, or Oracle, or ...). The tutorial shows how this is set up in the toolkit scripts, and how to change them.

Subscribe to ActiveState Blogs by Email

Share this post:

Category: python
About the Author: RSS

Troy Topnik is ActiveState's technical writer. After joining ActiveState in 2001 as a "Customer Relationship Representative" (AKA Tech Support), Troy went on to lead the PureMessage Enterprise Support team before moving on to a technical writing role in 2004. His talent for describing software for new users stems from his difficulty understanding things that developers find obvious. He has a Bachelor of Music from the University of Victoria.