datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
86 stars 12 forks source link

Use Heroku CLI to configure review apps #94

Closed jeancochrane closed 3 years ago

jeancochrane commented 4 years ago

Documentation request

When we first wrote our documentation for deploying Django apps to Heroku, the Review Apps CLI was still in beta and only supported the reviewapps:enable command. Because of this, we were able to provide a sample command for enabling review apps, but we needed to leave a big block of text explaining how to configure them.

With the new version of Review Apps most of these configurations are now supposed to be exposed in the CLI, so we should update our docs to provide a command to automatically configure review apps properly with the CLI.

jeancochrane commented 4 years ago

I've got some documentation drafted in this branch: https://github.com/datamade/how-to/tree/jfc/reviewapps-cli

Currently I'm running into a strange bug where the --autodestroy and --autodeploy flags are erroring out without raising any clear traceback. I've opened a ticket with Heroku support and will pick this back up again once I hear from them.

hancush commented 3 years ago

Finishing touches tk tomorrow!