Switch branches/tags
2.0 1.1 1.0 20130117141529-5356e3c 20130117141412-5356e3c 20130117111900-ec7bf67 20121213164714-45e99b0 20121213163756-45e99b0 20121213094252-3c0fcd0 20121212172816-d378e4d 20121212151244-7cdbc56 20121212145432-7cdbc56 20121212142054-7cdbc56 20121212141326-d378e4d 20121203101221-bb8557d 20121203095534-1ba21c6 20121129175645-8f74643 20121129125255-9e6d4a5 20121128220809-9543a70 20121108174551-1cc1bef 20121108165832-1e6a63b 20121107172238-95efe86 20121107101645-e86fc41 20121107100756-ca452e2 20121107094505-b1d9aec 20121106165309-76baa8c 20121106120118-bc0266c 20121105181626-3450da1 20121105100449-fa46008 20121105095558-ad6186a 20121102113105-d378e4d 20121102111808-d378e4d 20121019093000-901103d 20121019091156-1c7cfe8 20121017112815-c76611e 20121016131011-e351204 20121015090331-2fe3766 20121012153011-f569aec 20121012150925-e99db68 20121012083020-5421992 20121012082152-83c9731 20121011091319-0062394 20121010161714-a7fd276 20121010083755-ab5970a 20121010082637-2c42433 20120927093040-e24eb19 20120927092332-faf87e8 20120927085135-86d2dda 20120926134530-83abf07 20120926134213-71127a0 20120925124933-6a86237 20120924182830-ddc3bc4 20120806140629-9d31317 20120806140250-b11fff5 20120806132912-4bb8dd4 20120806132411-83d0519 20120806125709-273573c 20120726122839-e598958 20120726111812-7ca35fa 20120725181403-d617610 20120725171513-b53fe7c 20120725163637-911187b 20120725145003-a7b89c0 20120712144426-8891001 20120712132632-c2feac5 20120711165048-58dfaed 20120710121715-28e38a3 20120709120217-68074ff 20120709115759-68074ff 20120709113600-ff4c5ce 20120709113210-68074ff 20120709112154-2fdf115 20120709110929-2fdf115 20120706161112-2fdf115 20120705173731-ff4c5ce 20120705170709-6064926 20120704164359-9745065 20120703204528-ff615eb 20120703131338-d4f8488 20120703094435-5919cca 20120628105255-229e695 20120628084908-6b342a7 20120628081046-00f113b 20120626104035-9e6cfe1 20120625164218-2f1bdba 20120625143330-fceb179 20120625084036-9b49887 20120622232101-860108e 20120622230511-2c56157 20120622223740-71bf3ec 20120622223714-71bf3ec 20120622223639-71bf3ec 20120622223308-71bf3ec 20120622222738-71bf3ec 20120622222153-71bf3ec 20120622221150-71bf3ec 20120622221031-71bf3ec 20120621113214-6bd4bbe 20120621112025-cce6610 20120621110917-3406819
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
147 lines (96 sloc) 3.93 KB

This repo is now deprecated can now been found at

Local development

In addition to the more specific requirements below you need the standard set of software to get playdoh installed:

  • Xcode (with the Command Line Tools installed)
  • mySQL (a playdoh dependancy - though we're not using it for this project)
  • node and lessc
  • wget

We're using PostGIS + GeoDjango for the DB, so you'll also need the following installed:

  • Postgresql 8.4 +
  • PostGIS >= 1.4 && < 2.0
  • Geos
  • Proj4
  • GDAL

Mac OS X

With Homebrew, installing PostGIS and GDAL will install all you need:

brew update
brew install postgis gdal

Note The current version of PostGIS in Homebrew is version 2.0.0 - you need to install 1.5.3 (due to a numder of compatibility issues)


For Ubuntu 10.04, see the information in our Puppet config (./puppet/manifests/dev.pp and the classes in ./puppet/manifests/classes)

For Ubuntu release >= 11.10, this should work:

sudo apt-get install binutils gdal-bin libproj-dev postgresql-9.1-postgis \

Once those are installed, then pip install -r requirements/compiled.txt should work as expected.

Making it run locally

Checkout the sourcecode and init the git submodules:

git clone --recursive git://

If at any point you realize you forgot to clone with the recursive flag, you can fix that by running:

git submodule update --init --recursive

Once you have all the dependencies installed, you need to create a settings file.

cp make_mozilla/settings/{-dist,}

And then edit the settings file to match your needs, here is the section about the databases:

    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': 'webmaker',
        'USER': 'postgres',
        'PASSWORD': 'postgres',
        'HOST': 'localhost',
        'PORT': '5432',
        'TEST_CHARSET': 'utf8',
        'TEST_COLLATION': 'utf8_general_ci',

Setting up the database


GeoDjango is installed as part of Django. You need to take a look at the installation instructions at [] to get PostGIS configured properly with Django. Ubuntu's version ships with a postgis-template generation script, which you can see used in ./puppet/manifests/classes/postgis.pp

Once you've installed postgis, you need to create a template for it, and then create your database with this template. For postgis 1.5:

cd /tmp && wget
sudo su postgres

And finally create the database:

createdb -T template_postgis webmaker

Populating it

./ syncdb
./ migrate

Compiling the assets

You also need to compile the assets, be sure to update your settings with the path to your LESS executable:

LESS_BIN = "/usr/local/bin/lessc"

And then run:

./ compress_assets

playdoh: about the framework

This app is built using Mozilla's Playdoh.

Mozilla's Playdoh is a web application template based on Django.

Patches are welcome! Feel free to fork and contribute to this project on github.

Full Playdoh documentation is available as well.


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