Charm: python-django
Summary
High-level Python web development framework
Charm Store
juju deploy cs:precise/python-django-3
Maintainer
Patrick Hetu
Series
precise
Description
Django is a high-level web application framework that loosely follows the model-view-controller design pattern. Python's equivalent to Ruby on Rails, Django lets you build complex data-driven websites quickly and easily - Django focuses on automating as much as possible and adhering to the "Don't Repeat Yourself" (DRY) principle. Django additionally emphasizes reusability and "pluggability" of components; many generic third-party "applications" are available to enhance projects or to simply to reduce development time even further. Notable features include: * An object-relational mapper (ORM) * Automatic admin interface * Elegant URL dispatcher * Form serialization and validation system * Templating system * Lightweight, standalone web server for development and testing * Internationalization support * Testing framework and client
Links
Repository   Bugs
lp:~charmers/charms/precise/python-django/trunk
Interfaces
Provides
Requires
Config
swift_prefix string
wsgi_access_logfile string
repos_username string
swift_version string
wsgi_max_requests int
site_username string
wsgi_workers int
port int
swift_api_key string
site_password string
wsgi_extra string
requirements string
wsgi_keep_alive int
repos_branch string
vcs string
swift_auth_url string
wsgi_log_file string
wsgi_worker_class string
application_path string
swift_username string
extra_deb_pkgs string
swift_container_name string
site_domain string
repos_password string
wsgi_umask string
wsgi_timestamp string
wsgi_backlog int
wsgi_timeout int
python_path string
site_admin_email string
wsgi_access_logformat string
wsgi_log_level string
wsgi_group string
wsgi_wsgi_file string
site_secret_key string
repos_url string
wsgi_worker_connections int
django_settings string
wsgi_user string
Details
Readme
Juju charm python-django
========================

:Author: Patrick Hetu <patrick@koumbit.org>

Example deployment
------------------

1. Setup your wiki specific parameters in mywiki.yaml like this::

    my_django_site:
        vcs: bzr
        repos_url: lp:~patrick-hetu/my_site
        extra_deb_pkgs: python-dateutils
        site_domain:
        site_username:
        site_password:
        site_admin_email:
        site_secret_key:
        auth_url:
        api_key:
        wsgi_worker_class:
        swift_version:
        swift_prefix:
        swift_username:
        swift_container_name:

2. Deployment with Gunicorn::

    juju bootstrap
    juju deploy --config my_django_site.yaml python-django
    juju deploy gunicorn
    juju add-relation gunicorn python-django
    juju expose gunicorn

3. Accessing your new moinmoin wiki should be ready at::

       http://<machine-addr>/ 

   To find out the public address of gunicorn, look for it in the output of the
   `juju status` command.  

Security
--------

Note that if your using a *requirement.txt* file the packages will
be downloaded with *pip*. *Pip* is not doing any cryptographical
verification of its downloads so this be a security risk.
Changes  
2013/02/01 Brandon Holtsclaw MP #145406 - Bruno Girin (revno 24)
2013/02/01 Brandon Holtsclaw MP #145235 - Bruno Girin (revno 23)
2013/02/01 Brandon Holtsclaw MP #145230 - Bruno Girin (revno 22)
2012/07/09 Patrick Hetu re-introduce website relation (revno 21)
2012/07/07 Patrick Hetu make upgrade-charm executable (revno 20)
2012/07/06 Patrick Hetu Security warning (revno 19)
2012/07/06 Patrick Hetu Add more details in variables description (revno 18)
2012/07/06 Patrick Hetu Stop on error in hooks and minor changes (revno 17)
2012/07/06 Patrick Hetu remove the website relation; Will be handle by the WSGI container (revno 16)
Lint Check
  • warn: missing recommended hook start
  • warn: missing recommended hook stop

In other archives
Newer ~patrick-hetu:precise/python-django