Wrote a walkthrough to show you how to install a Bitnami Django 1.4.5 stack on a Mac or Linux box and then setup + deploy the pinax-project-account Django starter project with a newly created sqlite3 DB that can be accessed at localhost:8080.
This walkthrough uses the Bitnami Django 1.4.5 native installer. If you’re using a different version, please be aware that the steps may differ from this guide.
Install the native Bitnami stack
For this example, only sqlite3 and Django are required. By only selecting what’s necessary, installing the stack will go much faster, however there is no harm in installing more than what’s necessary except for your patience.
Do not setup an initial project.
Run the native installer .dmg
Inside the stack environment
Step 1: Open a shell environment or Terminal (iTerm2!)
Step 2: Activate the stack environment
Step 3: Create a new pinax accounts project
Step 4: Check to see if pip is installed
IF the path does NOT point to [stack location]/python/bin/pip
THEN pip is NOT installed. Run easy_install pip to install pip.
Step 5: Install required packages from requirements.txt
Step 6: Collect the static files
Enter yes when prompted
Make note of the full path of the static files. You will need this for the next step. By default it should be at
Step 7: Create the sqlite3 database file
Step One: Open settings.py in a text editor. It is located at
Step Two: Set default database name to the full path of the database created in the previous step.
Step One: Open django.conf in a text editor. It is located at
Step Two: Modify Django app URL from localhost:8080/Project to localhost:8080
Step Three: Modify location to static file directory
Step One: Open django.wsgi in a text editor. It is located at
Step Two: Modify location to Django project directory
Step Three: Modify location to Django project settings
To commit the changes made up to this point, Apache must be restarted