ChocolateApp / Chocolate

The future of media manager
https://chocolateapp.github.io/
GNU General Public License v3.0
430 stars 16 forks source link

Break up app.py #14

Open AtomsForPeace opened 1 year ago

AtomsForPeace commented 1 year ago

As mentioned in https://github.com/ChocolateApp/Chocolate/discussions/7#discussioncomment-5633071

I was also looking at maybe breaking it up. Maybe use this issue to reference it in the future.

AtomsForPeace commented 1 year ago

Here's a good example using flask-sqlalchemy: https://github.com/pallets-eco/flask-sqlalchemy/tree/main/examples/flaskr

Impre-visible commented 1 year ago

I just merged your PR, I'm gonna work on the break up of app.py

Impre-visible commented 1 year ago

I tried your code, and there's a problem, all static files return a 404 error image

Impre-visible commented 1 year ago

I found how to repair that, I'm gonna commit

mauvray commented 1 year ago

Maybe we can keep this issue open until app.py is really broken appart ? We can also write the list of what needs to be done as a task list and have GitHub showing the completion status with something like this

Impre-visible commented 1 year ago

OK, let's do that