Closed Lewiscowles1986 closed 4 years ago
I have not yet worked out the MySQL migrations needed to manage from a raw SQL file on Heroku. I have tested locally and you'll notice a Docker compose MySQL container option because of changes to MySQL auth, which are not yet in PHP PDO at the time of writing.
It's likely that heroku provider specific instructions will differ between vendors
healthcheck & CSS changes have been removed and moved into their own PR
For now this is blocked on the inclusion of 12-factor PR's #47 or a config.php
commit (of which I'd strongly recommend one that uses ENV
).
I've reduced it's size and functionality to provide a pick-and-mix style approach to docker and heroku setup. This is pretty much now only a local docker environment (with docker-compose) and a heroku deploy.
I need to check this again before it's committed.
I've made the changes for config loading from environment variables so it should be possible now to finish this PR. I don't fully understand the current state of this PR though.
Chopped into pieces. I'll test soon and get back to you 👍. Last I checked I was waiting on you to explore an alternative ENV loader
A series of edits to enable heroku deploys from a button.
<?
with<?php
~ [MOVED TO #49]~Could do with a clean-up, test suite, change or removal of config.php~ [DONE]