如何 运行 我在 GitHub 上找到的这个 Python 项目?
How do I run this Python project I found on GitHub?
我是新手。
这是我要 运行 的项目:
https://github.com/app-generator/django-dashboard-atlantis-dark
我成功安装了要求。
当我尝试:python manage.py makemigrations 时,没有任何反应。
我尝试 google 一个解决方案并花费了两吨神经元。
如果哭是一种解决办法,我会做。
你不需要这个,如果你熟悉如何使用虚拟环境。在 Windows 中的 Pythons 项目上,那就不用担心了。否则你需要在 运行 一些命令行之前创建 (Env)。只需按照以下步骤操作即可。
01. Check using cmd ...\> py --version if it was installed then follow the below
steps
02. cmd ...\> py -m pip install virtualenvwrapper-win
03. cmd ...\> mkvirtualenv myproject
04. cmd ...\> workon myproject
05. cmd ...\> py -m pip install Django
06. Now Open the project by an IDE you are prefer to be use. Better use Pycharm
for python projects.
07. Run cmd ...\> workon myproject ; then call your project directory and lastly
run
08. cmd ...\> py manage.py runserver; if you got an error about table
related just use this cmd ...\> py manage.py migrate
我是新手。 这是我要 运行 的项目: https://github.com/app-generator/django-dashboard-atlantis-dark
我成功安装了要求。 当我尝试:python manage.py makemigrations 时,没有任何反应。
我尝试 google 一个解决方案并花费了两吨神经元。 如果哭是一种解决办法,我会做。
你不需要这个,如果你熟悉如何使用虚拟环境。在 Windows 中的 Pythons 项目上,那就不用担心了。否则你需要在 运行 一些命令行之前创建 (Env)。只需按照以下步骤操作即可。
01. Check using cmd ...\> py --version if it was installed then follow the below
steps
02. cmd ...\> py -m pip install virtualenvwrapper-win
03. cmd ...\> mkvirtualenv myproject
04. cmd ...\> workon myproject
05. cmd ...\> py -m pip install Django
06. Now Open the project by an IDE you are prefer to be use. Better use Pycharm
for python projects.
07. Run cmd ...\> workon myproject ; then call your project directory and lastly
run
08. cmd ...\> py manage.py runserver; if you got an error about table
related just use this cmd ...\> py manage.py migrate