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
Tutorial: step 3 (Installing as package) needs rationale #2421
Comments
Basically, you get all the benefits of installing packages in general. |
Thanks, David. If I can figure out how it works without installing (posting in another thread), I'll create a PR for tutorial.
|
I don't want the tutorial to not install the project. We want to encourage installation. |
This is what I'm trying to understand (just posted to the ML). Isn't it customary to run from the project directory during development, without installing it? Trying to understand how development workflow goes, as opposed to deployment. My guess is that there should be a paragraph at the top of this section saying something about how, in the end, you're going to want to be able to install as a package for a number of reasons, and so should set up your project that way from the start, but then describe how regular development works in the project dir. Haven't gotten this working, nor finished reading the tut, so will get back to this! :) |
"Regular development" is installing the package in develop mode. Yes, we should explain why, but no, we should not say that not installing the package is the way to do things. |
During develop you should install it, but with |
BTW, my original comment on this issues was mistaken: I couldn't run my app with a simple |
continued in #2513 |
Step 3 of the tutorial (installing flaskr as a package) needs rationale at the top. As it stands, that section of the tutorial tells the user out of the blue that they should install their webapp as a package, but doesn't say why. The user can already run their webapp via
flask run
, so it's not clear why they should at this point set up and install their package into their venv.The text was updated successfully, but these errors were encountered: