I'm trying to create a Buildpack designed specifically for deploying 
Web2py-based applications on Heroku.

Buildpacks are shell programs that are used to build & deploy slugs on 
Heroku.
The buildpack runs *before* the web2py application is launched.

It is basically a kind of deploy hook.


The features I'd like to include in the web2py buildpack are :

   - Byte-compilation of the web2py application
   - Migration and/or re-creation of the .table files
   - Installation of pip dependencies

This would allow automatic optimization of the run speed and tackle the 
very tricky ephemeral filesystem of Heroku.


I could really use some insights about how I should go about building this.

Specifically, I need to know how to know how to byte-compile directly from 
the shell or from a python script and what strategy I should use to handle 
migrations at deploy-time ?


This is the official buildpack for Python, which I intend to build mine 
upon : https://github.com/heroku/heroku-buildpack-python

This is the documentation for the Buildpack API provided by Heroku 
: https://devcenter.heroku.com/articles/buildpack-api

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to