Skip to content

How the devilry source is organized

espenak edited this page May 29, 2011 · 17 revisions

The devilry source code lives in the devilry/ directory.

devilry/apps/

All python code for Devilry except for client side code. Devilry is organized as a set of Django applications, and each subdirectory is such an application.

devilry/projects/

Each subdirectory is a Django project, which configures the devilry applications into a usable Devilry instance. Some projects may contain many files, however the only required files are settings.py, manage.py and urls.py.

TODO: Make a simple example project and write about it here.

devilry/static/

Static files required by Devilry. These files are usually served using a webserver, such as apache or lighttpd, however during development, the far less efficient django webserver is used.

We are reorganizing this directory to reflect the application structure, however at this time, it is a mess.