简体   繁体   English

如何重新输入预先存在的 django 应用程序

[英]How to reenter a pre-existing django app

I recently set up a Django app using virtualenv with the help of Stack Overflow .我最近在 Stack Overflow帮助下使用 virtualenv 设置了一个 Django 应用程序。 Now i closed my terminal and trying to again get in but the same commands are not running.现在我关闭了我的终端并尝试再次进入,但没有运行相同的命令。

How to do I reenter my app?如何重新进入我的应用程序? I am on Ubuntu 11.10我在 Ubuntu 11.10

As AdamKG mentioned in comments -正如 AdamKG 在评论中提到的 -

It depends on what docs you were following, but you're probably looking for source这取决于您关注的文档,但您可能正在寻找来源

~/path/to/virtualenv/bin/activate

If you are looking to activate an existing virtualenv: in your terminal, navigate to your django project folder and then type如果您想激活现有的 virtualenv:在您的终端中,导航到您的 django 项目文件夹,然后键入

pipenv shell

Venv should now be active. Venv 现在应该处于活动状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM