-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
enhance Dash boilerplates #391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That sounds good to me! I would like to hear @bpostlethwaite 's thoughts, as he's always been a strong proponent of "I should be able to just fork this thing and run with it", rather than needing to generate a project from a CLI. |
I don't mind generating a project from a CLI. I happily use If the cookiecutter repo looks much more sane than the archetype I'm definitely OK with a "clone, copy && template project info" type CLI. |
I think that's a good idea too. For the dash-component-boilerplate, another option would be to include scripts that do these things (setting name etc) for you, which perhaps makes it a little bit less "magic", and would still allow users to just fork/clone the repo and run with it. Having said that, I think having a great CLI that helps you do all of these things would be a great win for Dash, and would certainly lower the barrier of entry for those new to web development or even to Python. |
I was thinking about cookiecutter, and glad found this issue |
Is this still in Progress? Is there a feature branch for this? |
This is done. See: https://github.com/plotly/dash-component-boilerplate |
With the dash-component-boilerplate, you have to manually replace the name of the component lib. In plotly/dash-component-boilerplate#9, a user suggested we transform the repo in a cookiecutter.
I've looked into it and I think it would be a good fit for the component boilerplate and a dash-app-boilerplate. While it is a command line tool in nature, it allows to be called from Python. This means we can wrap it in our own CLI and have the commands be
dash create-component
ordash create-app
.@plotly/dash What do you think of this ?
The text was updated successfully, but these errors were encountered: