Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / README @ 95059648

History | View | Annotate | Download (738 Bytes)

1 2ce0636e Kostas Papadimitriou
Synnefo web project
2 2ce0636e Kostas Papadimitriou
===================
3 2ce0636e Kostas Papadimitriou
4 2ce0636e Kostas Papadimitriou
A synnefo helper package to ease up the deployment of synnefo components.
5 2ce0636e Kostas Papadimitriou
6 2ce0636e Kostas Papadimitriou
The package wraps a django project which extends itself (urls, default_settings, 
7 2ce0636e Kostas Papadimitriou
installed_apps, middleware_classes) based on the synnefo components/packages 
8 2ce0636e Kostas Papadimitriou
installed on the system.
9 2ce0636e Kostas Papadimitriou
10 2ce0636e Kostas Papadimitriou
The extending mechanism is based on the python setuptools `entry_points`. So
11 2ce0636e Kostas Papadimitriou
if an application (synnefo component) wants to plug additional configuration
12 2ce0636e Kostas Papadimitriou
to the django project it should define within its setup.py file the 'synnefo'
13 2ce0636e Kostas Papadimitriou
appropriate entry_points.
14 2ce0636e Kostas Papadimitriou
15 9c0ac5af Kostas Papadimitriou
For usage example please take a look how snf-cyclades-app package defines its entry
16 2ce0636e Kostas Papadimitriou
points in:
17 2ce0636e Kostas Papadimitriou
18 9c0ac5af Kostas Papadimitriou
    - snf-cyclades-app/setup.py
19 9c0ac5af Kostas Papadimitriou
    - snf-cyclades-app/app_settings/__init__.py