2010-12-29 02:40:48 +03:00
|
|
|
playdoh
|
|
|
|
=======
|
|
|
|
|
|
|
|
Mozilla's Playdoh is a web application template based on [Django][django].
|
|
|
|
|
|
|
|
Patches are welcome! Feel free to fork and contribute to this project on
|
|
|
|
[github][gh-playdoh].
|
|
|
|
|
|
|
|
[django]: http://www.djangoproject.com/
|
|
|
|
[gh-playdoh]: https://github.com/mozilla/playdoh
|
|
|
|
|
2011-01-04 02:54:18 +03:00
|
|
|
|
2010-12-29 02:40:48 +03:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
You need Python 2.6.
|
|
|
|
|
2011-01-04 02:54:18 +03:00
|
|
|
To check out playdoh, run:
|
2010-12-30 02:39:49 +03:00
|
|
|
|
2011-01-04 02:54:18 +03:00
|
|
|
git clone --recursive git://github.com/mozilla/playdoh.git
|
|
|
|
|
|
|
|
This project is set up to use a vendor library, i.e. a subdirectory ``vendor``
|
|
|
|
that contains all pure Python libraries required by this project. The recursive
|
|
|
|
checkout will also clone these requirements.
|
2010-12-29 02:40:48 +03:00
|
|
|
|
|
|
|
In addition, there are compiled libraries (such as Jinja2) that you will need
|
|
|
|
to build yourself, either by installing them from ``pypi`` or by using your
|
|
|
|
favorite package manager for your OS.
|
|
|
|
|
|
|
|
For development, you can run this in a [virtualenv environment][virtualenv]:
|
|
|
|
|
|
|
|
easy_install pip
|
|
|
|
pip install -r requirements/compiled.txt
|
|
|
|
|
2010-12-29 02:45:06 +03:00
|
|
|
For more information on vendor libraries, read [Packaging in Zamboni][packaging].
|
|
|
|
|
|
|
|
[packaging]: http://jbalogh.github.com/zamboni/topics/packages/
|
2010-12-29 02:40:48 +03:00
|
|
|
[virtualenv]: http://pypi.python.org/pypi/virtualenv
|
|
|
|
|
2011-01-04 02:54:18 +03:00
|
|
|
|
|
|
|
Starting a project based on playdoh
|
|
|
|
-----------------------------------
|
|
|
|
The default branch of playdoh is ``base``. To start a new project, you fork
|
|
|
|
playdoh and start working on your app in ``master`` (branched from base). If
|
|
|
|
you start adding pieces that should go back into playdoh, you can apply the
|
|
|
|
patch to base and move it upstream.
|
|
|
|
|
|
|
|
Eventually you'll probably diverge enough that you'll want to delete the base
|
|
|
|
branch.
|
|
|
|
|
|
|
|
|
2010-12-29 02:40:48 +03:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
This software is licensed under the [New BSD License][BSD]. For more
|
|
|
|
information, read the file ``LICENSE``.
|
|
|
|
|
|
|
|
[BSD]: http://creativecommons.org/licenses/BSD/
|
|
|
|
|