不能 运行 django_quiz 应用程序。 manage.py 未找到

cannot run django_quiz app. manage.py not found

我正在尝试安装在 github 上找到的 django_quiz 应用程序。

https://github.com/tomwalker/django_quiz

正如您在下面看到的,我已经安装了所有要求。但是没有 manage.py。我如何开始 运行 项目?

Things I did >

Cloned the repo with git clone https://github.com/tomwalker/django_quiz.git.

Run --> pip install -r requirements.txt. 

Run --> python setup.py install

Added 'quiz', 'multichoice', 'true_false', 'essay' to INSTALLED_APPS setting.

Added url(r'^q/', include('quiz.urls')),  to urls.py.

注意:我是 Django 的初学者。请帮我。我有点被困在这里。

Django Version : 1.6.5

Installed c:\python27\lib\site-packages\django_quiz_app-0.5.1-py2.7.egg
Processing dependencies for django-quiz-app==0.5.1
Searching for Pillow==2.5.0
Best match: Pillow 2.5.0
Adding Pillow 2.5.0 to easy-install.pth file

Using c:\python27\lib\site-packages
Searching for Django==1.6.5
Best match: Django 1.6.5
Adding Django 1.6.5 to easy-install.pth file

Using c:\python27\lib\site-packages
Searching for django-model-utils==2.0.3
Best match: django-model-utils 2.0.3
Adding django-model-utils 2.0.3 to easy-install.pth file

Using c:\python27\lib\site-packages
Finished processing dependencies for django-quiz-app==0.5.1

C:\Users\Vaisakhan\django_quiz>python manage.py runserver
python: can't open file 'manage.py': [Errno 2] No such file or directory

创建一个 manage.py 文件并将其存储在文件结构的顶级文件夹中。将 mysite 替换为包含您的 Django 测验代码的文件夹。

import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)

我认为这个 repo 遗漏了一些步骤。我觉得步骤应该是这样的:

  1. pip install virtualenv(确定不会出现依赖错误可以跳过这一步,下一步)
  2. 虚拟环境~/quiz_env
    来源 ~/quiz_env/bin/activate
  3. pip 安装 Django==1.6.5
  4. django-admin 启动项目quiz_project
  5. navigate to quiz_project/quiz_project, edit setting files
  6. navigate to quiz_project/ and copy all the apps directory ('quiz', 'multichoice',....etc) inside quiz_project along with requirement.txt file
  7. pip install -r requirements.txt
  8. python manage.py syncdb
  9. python manage.py makemigrations
  10. python manage.py migrate
  11. python manage.py runserver