Giter Club home page Giter Club logo

funfactory's Introduction

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.

Note

if you supply a different playdoh remote URL or a different branch or something, remember to delete the .playdoh/ directory between tests for a clean slate.

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.

funfactory's People

Contributors

kumar303 avatar peterbe avatar davedash avatar pmac avatar willkg avatar tofumatt avatar jgmize avatar rfreebern avatar fwenzel avatar kyoshino avatar rlr avatar toolness avatar ozten avatar gene1wood avatar oremj avatar akatsoulas avatar

Watchers

James Cloos avatar Michael Overmeyer avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.