Skip to content

Commit

Permalink
Moved sample project to its own repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Ohtamaa committed Jan 6, 2011
1 parent 607e0c3 commit 32606f6
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 276 deletions.
22 changes: 19 additions & 3 deletions README.rst
Expand Up @@ -32,8 +32,8 @@ You need to have installed
Your OS Python setuptools or Distribute package which is used to automatically download and install packages from PyPi repository,
must be new enough version or you get funny error messages.

Usage
=====
Installation
=============

Clone this project from Github according to Github instructions.

Expand All @@ -54,7 +54,7 @@ This step is *only needed if you have Google App Engine SDK in non-standard loca

export PATH=~/google_appengine:$PATH

Now you can run django-admin wrapper which is configured to used Python package setup as described in ``buildout.cfg``::
>Now you can run django-admin wrapper which is configured to used Python package setup as described in ``buildout.cfg``::

bin/django --version

Expand Down Expand Up @@ -82,9 +82,25 @@ You also see that Google App Engine specific commands in the management::
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.

Usage
=====

Start Google App Engine service with a sample database::

bin/django runserver

.. note ::
Never run manage.py runserver together with other management commands at the same time. The changes won't take effect.
That's an App Engine SDK limitation which might get fixed in a later release.
Extending
=========

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


Notes
=====

Expand Down
7 changes: 1 addition & 6 deletions buildout.cfg
Expand Up @@ -18,12 +18,6 @@ find-links =
# [sources] which will be checked out when buildout is run
auto-checkout = *

# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
# This prevents buildout trying download these eggs from PyPi
develop =
src/my.sampleproject

# Location of App engine yaml files, static and media folders
# This option is a template variable we use in [django] section to set the defaukt
# location of various files.
Expand All @@ -42,6 +36,7 @@ django-dbindexer = hg https://bitbucket.org/wkornewald/django-dbindexer
djangoappengine = hg https://miohtama@bitbucket.org/miohtama/djangoappengine-buildout path=src/djangoappengine
django-testapp = hg https://bitbucket.org/wkornewald/django-testapp egg=false
djc.recipe = git git://gitorious.org/djc-recipe/djc-recipe.git
my.sampleproject = git git@github.com:miohtama/django-nonrel-appengine-sample.git

# Use djc.recipe to set-up django-admin wrapper
# For options see http://pypi.python.org/pypi/djc.recipe
Expand Down
Empty file removed src/my.sampleproject/__init__.py
Empty file.
6 changes: 0 additions & 6 deletions src/my.sampleproject/my/__init__.py

This file was deleted.

Empty file.
22 changes: 0 additions & 22 deletions src/my.sampleproject/my/sampleproject/app.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions src/my.sampleproject/my/sampleproject/cron.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions src/my.sampleproject/my/sampleproject/dbindexes.py

This file was deleted.

22 changes: 0 additions & 22 deletions src/my.sampleproject/my/sampleproject/index.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions src/my.sampleproject/my/sampleproject/manage.py

This file was deleted.

55 changes: 0 additions & 55 deletions src/my.sampleproject/my/sampleproject/settings.py

This file was deleted.

6 changes: 0 additions & 6 deletions src/my.sampleproject/my/sampleproject/templates/404.html

This file was deleted.

6 changes: 0 additions & 6 deletions src/my.sampleproject/my/sampleproject/templates/500.html

This file was deleted.

53 changes: 0 additions & 53 deletions src/my.sampleproject/my/sampleproject/templates/base.html

This file was deleted.

42 changes: 0 additions & 42 deletions src/my.sampleproject/my/sampleproject/templates/home.html

This file was deleted.

9 changes: 0 additions & 9 deletions src/my.sampleproject/my/sampleproject/urls.py

This file was deleted.

29 changes: 0 additions & 29 deletions src/my.sampleproject/setup.py

This file was deleted.

0 comments on commit 32606f6

Please sign in to comment.