Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Firefox Flicks engagement campaign
branch: master
Failed to load latest commit information.
docs Add gitkeep files instead of empty gitignore files to denote empty di…
flicks Fixed Privacy policy link
lib/product_details_json added remaining static pages and user profile
migrations Added schematic.
puppet Create mysql database with character set to utf8.
requirements Review fixes.
vendor @ 65d7a52 Fix bug 916669: Update playdoh-lib to pull in Django update to 1.4.8.
vendor-local Bug 1053858: Upgrade to Django 1.4.14.
wsgi Bug 857109: Add New Relic code to Flicks WSGI file.
.gitignore Bug 840716: Download thumbnail image instead of storing URLs.
.gitmodules Fix bug 1010514: Add django submodule to update to Django 1.4.13.
LICENSE Added LICENSE document. More pythonic Playdoh layout: no top level __init__, no apps Small change to trigger push.
Vagrantfile Changes to make Vagrantfile compatible with vagrant 0.9.x
contribute.json Add contribute.json file. Remove temporary debugging. pyflakes + pep8
vagrantconfig.yaml Add puppet to playdoh
vagrantconfig_local.yaml-dist Add puppet to playdoh

Firefox Flicks

Firefox Flicks is a playdoh-based site that allows users to submit vidoes and view other entries in the Firefox Flicks contest.


These instructions assume you have git, python, and pip installed. If you don't have pip installed, you can install it with easy_install pip.

  1. Start by getting the source:

    $ git clone --recursive git://
    $ cd firefox-flicks
  2. Create a virtualenv for Flicks. Skip the first step if you already have virtualenv installed.

    $ pip install virtualenv
    $ virtualenv venv
    $ source venv/bin/activate
  3. Install the compiled requirements:

    $ pip install -r requirements/compiled.txt
  4. Set up a local MySQL database. The MySQL Installation Documentation explains how to do this.

  5. Configure your local settings by copying flicks/settings/ to flicks/settings/ and customizing the settings in it:

    $ cp settings/ settings/

    The file is commented to explain what each setting does and how to customize them.

  6. Initialize your database structure:

    $ python syncdb
    $ python migrate
  7. Install translations from SVN into the firefox-flicks/locale directory:

    $ git svn clone locale
    # or
    $ svn checkout locale
  8. Install the GNU version of gettext. If you are on OSX, you can do this using Homebrew:

    $ brew install gettext
    $ brew link gettext
  9. Compile the translations:

    $ python compilemessages

Running the Development Server

You can launch the development server like so:

$ python runserver

Waffle Flags

The following waffle flags are in use:

  • winners_page - Controls whether the winners page is available, as well as displaying winner information on designated videos.


This software is licensed under the New BSD License. For more information, read the file LICENSE.

Something went wrong with that request. Please try again.