Oh, and on the python migrations front, I agree 100%. I went looking for something about six months ago and ended up going with yoyo-migrations, but it's not very satisfactory.
On Thu, Jun 7, 2012 at 6:45 PM, Peter Keen <[email protected]> wrote: > Oh! I misunderstood. In that case, you could use this: > > https://github.com/ddollar/heroku-buildpack-multi > > Basically, you set that git repo as your BUILDPACK_URL and then create a > file in the top of your project named ".buildpacks" which contains further > buildpack urls. Each one of these is cloned in turn and has the compile and > release steps run. One very important caveat: the release information from > the *last* buildpack is used. Thus, your .buildpacks file should look like > this: > > https://github.com/heroku/heroku-buildpack-ruby > https://github.com/heroku/heroku-buildpack-python > > I haven't personally used this setup but it looks pretty straightforward. > > On Thu, Jun 7, 2012 at 6:40 PM, jhorman <[email protected]> wrote: > >> But that gives me Python, when what I was really asking is if I can >> run both ruby stuff and python stuff in one app. Rake/Sequel is ruby, >> and Flask/Peewee is Python. I haven't found a great simple db >> migration tool in Python so was going to just use a Ruby one. >> >> On Jun 7, 9:35 pm, Peter Keen <[email protected]> wrote: >> > You can specify the exact buildpack you want by setting the config var >> > BUILDPACK_URL to a publicly cloneable git URL. For your python app, >> you'd >> > do: >> > >> > $ heroku config:set BUILDPACK_URL= >> https://github.com/heroku/heroku-buildpack-python.git >> > >> > >> > >> > >> > >> > >> > >> > On Thu, Jun 7, 2012 at 6:32 PM, jhorman <[email protected]> wrote: >> > > I have a Flask/Python/Peewee app running, and things are great. I >> > > decided to use Rake+Sequel Migrations for DB migrations, before >> > > realizing this might be painful on Heroku. >> > >> > > Can I mix languages like this. It seems if I add a Gemfile, >> > > Gemfile.lock, etc, I then end up with a Ruby slug instead of a Python >> > > slug when I deploy. Do I have to find a Python DB migration tool. >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> > > Groups "Heroku" group. >> > >> > > To unsubscribe from this group, send email to >> > > [email protected] >> > > For more options, visit this group at >> > >http://groups.google.com/group/heroku?hl=en_US?hl=en >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Heroku" group. >> >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en_US?hl=en >> > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en
