cosmir / openmic-annotator

Annotation framework for annotating data for OpenMIC
MIT License
56 stars 1 forks source link

First pass at a repository layout #11

Closed ejhumphrey closed 7 years ago

ejhumphrey commented 8 years ago

Does not need to be permanent, but it'll be good to carve out space for how we see this garden growing.

stefan-balke commented 8 years ago

First shot on the web_backend:

--> web_backend --->---> assets --->--->---> css --->--->---> js --->--->---> img --->---> templates --->---> requirements/setup --->--->---> requirements_dev.txt --->--->---> requirements_production.txt

Pretty much standard so far. Thoughts very welcome.

The question for me is what else should be in this repo? The web-backend should be task-agnostic so maybe another repo would be a better place to live.

stefan-balke commented 8 years ago

FWIW, this guy is a Flask guru and makes some good points in this tutorial about "Flask at scale" + he also has a book: https://www.youtube.com/watch?v=tdIIJuPh3SI

stefan-balke commented 7 years ago

Based on that book, I would start with this tag: https://github.com/miguelgrinberg/flasky/tree/7a

That got blueprints running and nicely separates the routes which otherwise will get messy pretty soon in the app.py. I give it a start and will also include the api @ejhumphrey started to implement.

ejhumphrey commented 7 years ago

pretty sure this is closed at this point (feel free to reopen if anyone feels differently)