Skip to content

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

Closed
T4rk1n opened this issue Sep 17, 2018 · 6 comments
Closed

enhance Dash boilerplates #391

T4rk1n opened this issue Sep 17, 2018 · 6 comments
Labels
feature something new P3 backlog

Comments

@T4rk1n
Copy link
Contributor

T4rk1n commented Sep 17, 2018

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 or dash create-app.

@plotly/dash What do you think of this ?

@chriddyp
Copy link
Member

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.

@bpostlethwaite
Copy link
Member

I don't mind generating a project from a CLI. I happily use create-react-app for my own things. For the builder archetype specifically I disliked how some configs were linked into the node_modules folder and thought the archetype repo was really difficult to understand.

If the cookiecutter repo looks much more sane than the archetype I'm definitely OK with a "clone, copy && template project info" type CLI.

@valentijnnieman
Copy link
Contributor

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.

@T4rk1n T4rk1n self-assigned this Sep 26, 2018
@byronz
Copy link
Contributor

byronz commented Feb 14, 2019

I was thinking about cookiecutter, and glad found this issue

@erdos2n
Copy link

erdos2n commented Apr 22, 2023

Is this still in Progress? Is there a feature branch for this?

@gvwilson gvwilson added the P3 backlog label Aug 13, 2024
@gvwilson gvwilson changed the title Dash boilerplates enhance Dash boilerplates Aug 13, 2024
@gvwilson gvwilson added the feature something new label Aug 13, 2024
@ndrezn
Copy link
Member

ndrezn commented Nov 19, 2024

@ndrezn ndrezn closed this as completed Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

8 participants