-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Prompt for template on reflex init #2122
Conversation
One thing I haven't included yet - if the user specifies a template up front we should skip this check. Currently if they do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah should be easy enough to kill the default template on line 125, technically there is no default template now
ab1c9ca
to
2c5b120
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add --template blank
to the docker integration test
docker-example/Dockerfile
Outdated
@@ -17,7 +17,7 @@ RUN python3.11 -m venv $VIRTUAL_ENV | |||
RUN pip install -r requirements.txt | |||
|
|||
# Deploy templates and prepare app | |||
RUN reflex init | |||
RUN reflex init --template blank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we actually probably don't need this in the dockerfile, because the app should already exist when the container is being built... not sure if it hurts anything though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point - I'll remove this
Ask the user to specify a template interactively on the first
reflex init
.