Open glyg opened 2 years ago
That's great, Thanks! - I've been meaning to get around to doing that for a while. It would be nice to replace this 'examples' repo with a cookiecutter. I don't think we need both. I also think we shouldn't include the React app - There are too many JS choices for users these days and they keep changing so I think this Django example app should have as little JS as possible.
cc @jburel @sbesson Maybe we should delete or rename this repo since omero-web-apps-examples
should be just a single example. Either omero-webapp-example
or omero-webapp-cookiecutter
if it's a convention for cookiecutter apps to have that in their name?
Thanks @will-moore !
it's a convention for cookiecutter apps to have that in their name?
Looks like it :wink:
Big :+1: for having cookiecutters, we already have some minimal prototype for CLI - https://github.com/ome/cookiecutter-omero-cli-plugin.
cc @jburel @sbesson Maybe we should delete or rename this repo since omero-web-apps-examples should be just a single example. Either omero-webapp-example or omero-webapp-cookiecutter if it's a convention for cookiecutter apps to have that in their name?
I would not delete a repo in all cases, but it's easy enough to archive and have a README redirecting to the appropriate place.
I don't know if it can find a place in the ome org here, but would be happy to contribute.
Barring the minimal testing and the discussion of the name and the style 😄 I would be absolutely fine with having something similar to https://github.com/ome/cookiecutter-omero-webapp
great! I'll try to set tests up on the gitlab repo. I feel it's easier to have a cookiecutter for the minimal webapp and one for react (which I can also write while I'm at it).
Coming back to this. Something to reactivate post summer
@glyg - I tested out your omero-webapp-cookiecutter the other day and it worked great. @jburel is going to create a new empty repo at e.g. https://github.com/ome/cookiecutter-omero-webapp and then maybe you could copy your app there as a PR? We'll ping here once the app is created, Thanks!
oh cool :) Sure will do
done
@jburel forking is disabled on the repo, can you authorize it?
Apologies. The repo was private. I changed it to public
The PR is up here: https://github.com/ome/cookiecutter-omero-webapp/pull/1
Hi,
Thank you for the template code. I created a cookiecutter for the minimal-webapp example:
https://gitlab.in2p3.fr/fbi-data/omero-webapp-cookiecutter
This automates the renaming in all the boilerplate code, and could be extended to the react app. I don't know if it can find a place in the ome org here, but would be happy to contribute.
This can also just be a mention in the REAME of course :)