ehmatthes / heroku-buildpack-python

A demonstration version of the official Heroku buildpack for Python apps, showing how Django deployment can be further simplified.
https://ehmatthes.com/blog/simplified_heroku/
MIT License
16 stars 2 forks source link

Define full set of config vars #19

Open ehmatthes opened 3 years ago

ehmatthes commented 3 years ago

Right now there's only one config var, AUTOCONFIGURE_ALL. That's been good enough to get started, but I need more in order to handle the range of approaches to autoconfiguration that people will need.

Define the full set of config vars, and then implement them.

ehmatthes commented 3 years ago

Now that I write this out, there really isn't that much to do. I thought there might be need to add more flags for just auto configuring some aspects, but there are so few pieces here it's not really needed, and would just make things more complex. So final docs would be: "Turn autoconfigure_all on, and then disable auto configuration of database or static files if needed."

ehmatthes commented 3 years ago

Technically, this buildpack doesn't even need the AUTOCONFIGURE_ALL flag. Since people are choosing this buildpack, it could just do the autoconfiguration unless there's a flag to skip a step. But this is meant to show how the default buildpack could be made to automate almost everything, so I'll keep the main flag.