-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Add example for virtualenv integration in cli docs #2234
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
Conversation
|
Editing |
|
Thanks. This part Virtualenv Integration was already in docs, is it better to remove it? |
|
I see, I wasn't aware of that section. |
untitaker
left a comment
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.
I think I'll just merge this since apparently we already recommend. Personally I'm not a fan of the idea.
docs/cli.rst
Outdated
| bottom of the file. That way every time you activate your virtualenv you | ||
| automatically also activate the correct application name. | ||
|
|
||
| You need to edit the specific activate script for different shell, for example: |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/cli.rst
Outdated
|
|
||
| Unix Bash: ``venv/bin/activate``:: | ||
|
|
||
| FLASK_APP=foo.py |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| Unix Bash: ``venv/bin/activate``:: | ||
|
|
||
| FLASK_APP=hello | ||
| export FLASK_APP |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
Thanks @greyli 🎉 |
No description provided.