Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datakurre/shaura_buildout
Example Shaura buildout
https://github.com/datakurre/shaura_buildout
Last synced: about 2 months ago
JSON representation
Example Shaura buildout
- Host: GitHub
- URL: https://github.com/datakurre/shaura_buildout
- Owner: datakurre
- Created: 2011-09-13T05:55:35.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-13T05:59:19.000Z (over 13 years ago)
- Last Synced: 2024-10-15T17:47:42.183Z (3 months ago)
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
bfg-gae-buildout
================Buildouts pyramid app onto Google App Engine.
This buildout has been inspired by:
* http://darrylcousins.blogspot.com/2010/01/repoze-bfg-on-google-app-engine.html
* http://code.google.com/p/bridal/
* http://pypi.python.org/pypi/rod.recipe.appengine
* http://code.google.com/p/appengine-monkey/Requirements
------------Python 2.5 compiled with expat support. Virtualenv may not work with GAE.
Testing the buildout out of the box
-----------------------------------Build and run the application::
$ python bootstrap.py
$ ./bin/buildout
$ ./bin/wrapper parts/wrapperThen access the application using a web browser with the following URL::
http://localhost:8080/
Using the buildout with your application
----------------------------------------At first, take a look at *myapp* example. Besides minimal WSGI-wrapper at
``run.py``, it has completely no idea, that it would be run on GAE.Replace *appname*, *appspotname* and *appspotversion* in the beginning of
``buildout.cfg`` with your application specific ones.Take care that setuptools will find our application files. This is usually done
by setuptools' SVN, Mercurial, etc... integration, but you may also define
included files explicitly in your package's ``MANIFEST.in``.Just in case, run ``buildout`` with ``rm .installed.cfg && bin/buildout``. It
seems, ``rod.recipe.appengine`` doesn't support buildout's update very well.Deploying your application onto GAE
-----------------------------------To upload application files, run::
$ ./bin/appcfg update parts/wrapper
For a more detailed documentation follow this url::
http://code.google.com/appengine/docs/python/tools/uploadinganapp.html
Troubleshooting
---------------Buildout fails with ``Error: Couldn't install: foobar``.
Double check that you are using Python 2.5Page request gives ``ImportError: ...``.
Dependencies for ``pyramid`` may have been updated.
Try to update ``${wrapper:packages}`` on ``buildout.cfg`` with
missing packages and run ``rm .installed && bin/buildout`` again.Page request gives ``SAXReaderNotAvailable: No parsers found``.
Most probably, used Python has been built without Expat support.