hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.33k stars 289 forks source link

🪲 Fix database initialization #5682

Closed jpelay closed 3 months ago

jpelay commented 3 months ago

QA is down because of a recent PR we merged today: #5630 This PR failed to take into account that Heroku uses the function post_fork in gunicorn.conf.py and not the if __name__ == '__main__' located in app.py

How to test

Everything should work, but the real test is on Alpha.

mergify[bot] commented 3 months ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

mergify[bot] commented 3 months ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).