Skip to content

Commit

Permalink
Updating buildout
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Ohtamaa committed Jan 5, 2011
1 parent 5fdf86a commit 37937e8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
38 changes: 38 additions & 0 deletions README.rst
@@ -0,0 +1,38 @@
==============================================
django-nonrel and Google App Engine buildout
==============================================

.. contents ::
Introduction
============

Easily install and manage django-nonrel based Google App Engine applications using buildout command.

The buildout configuration uses Mr. Developer extension to pull all ``django-nonrel``
and ``djangoappengine`` bits together and set-up them for you.

Usage
=====

You must use App Engine compatible Python version::

python bootstrap.py

Then::
bin/buildout

Now you can run Django manage::

bin/django --version

1.2.4

The buildout ships with a sample project skeleton called ``my.sampleproject``. You can clone this
skeleton and modify it to start building your won application.

To deploy your own application you can create a ``buildout.cfg`` which extends this existing buildout.
Edit ``buildout.cfg``.



20 changes: 18 additions & 2 deletions buildout.cfg
Expand Up @@ -3,6 +3,11 @@ parts =
django

eggs =
Django
djangotoolbox
django-nonrel
django-dbindexer
djangoappengine
my.sampleproject

extends =
Expand All @@ -12,6 +17,8 @@ extensions =

find-links =

auto-checkout = *

# Add additional eggs here
eggs =

Expand All @@ -20,18 +27,27 @@ eggs =
develop =
src/my.sampleproject

# Define version control repositories where to fetch the evil stuff
# Define version control repositories where to fetch the evil stuff.
# All these should be distributed as Python eggs.
# You can extend this section and add your own version control repositories.
[sources]
django-nonrel = hg https://bitbucket.org/wkornewald/django-nonrel
djangotoolbox = hg https://bitbucket.org/wkornewald/djangotoolbox
django-dbindexer = hg https://bitbucket.org/wkornewald/django-dbindexer
djangoappengine = hg https://bitbucket.org/wkornewald/djangoappengine
django-testapp = hg https://bitbucket.org/wkornewald/django-testapp
django-testapp = hg https://bitbucket.org/wkornewald/django-testapp egg=false

[django]
recipe = djc.recipe
project = my.sampleproject

# django-nonrel subprojects are not properly eggified and contain non-standard directory
# layout. Thus, we need to do some evil things here
extra-paths =
src/django-testapp
src/dbindexer
src/django-dbindexer
src/djangoappengine



Expand Down

0 comments on commit 37937e8

Please sign in to comment.