Skip to main content

Mozilla's Django app skeleton.

Project description

funfactory is what makes playdoh fun. You import it within a Django manage.py file and it sets up the playdoh environment and configures some settings.

https://travis-ci.org/mozilla/funfactory.png https://coveralls.io/repos/mozilla/funfactory/badge.png?branch=master https://pypip.in/v/funfactory/badge.png

Install

pip install funfactory

What is it?

funfactory is the core of playdoh, Mozilla’s Django starter kit. funfactory is not a collection of standalone apps.

Check out the playdoh docs for a complete user guide.

funfactory is also the name of a script that automates the installation of a new Playdoh app. Check out funfactory --help for more info.

Hacking

To develop new features for playdoh core, you’ll want to hack on funfactory! To run the test suite, first install tox then cd into the root dir and type the tox command. The tox.ini will handle the rest.

To try out cutting edge funfactory features in a real playdoh app, you can use the develop command to install a link to the files within your virtualenv:

workon the-playdoh-clone
pushd ~/your/path/to/funfactory
python setup.py develop
popd

Test Suite Environment

Here are some environment variables that are acknowledged by the test suite:

FF_DB_USER

MySQL db user to run manage.py test. Defaults to root.

FF_DB_PASS

MySQL user password for manage.py test. Defaults to an empty string.

FF_DB_NAME

MySQL db name for manage.py test. Defaults to _funfactory_test.

FF_DB_HOST

MySQL db host for manage.py test. Defaults to an empty string.

FF_PLAYDOH_REMOTE

Git qualified URL for playdoh repo. Defaults to git://github.com/mozilla/playdoh.git.

FF_PLAYDOH_BRANCH

Default branch to pull and update. Defaults to master.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funfactory-2.3.0.tar.gz (19.1 kB view details)

Uploaded Source

File details

Details for the file funfactory-2.3.0.tar.gz.

File metadata

  • Download URL: funfactory-2.3.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for funfactory-2.3.0.tar.gz
Algorithm Hash digest
SHA256 52f095f86147bb0b5f623bdaf952552d178ebbc5eac88d91b2f591d3d22c3b80
MD5 0a6b1038a04309096a140b2311c41421
BLAKE2b-256 2f506fbe65110b0b5ce663c37b3c514cbe84ba42df602dc45f2fceafbdcd5950

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page