美文网首页
1st: start the server with pytho

1st: start the server with pytho

作者: 王癫癫 | 来源:发表于2017-01-08 13:20 被阅读9次

    Link:  how to install Django

    sys: macOS Sierra @ 10.12.2

    python: 2.7.13

    tool: terminal

    command: sudo-->(super user), easy_install-->(tool of python),  pip(The PyPA recommended tool for installing Python packages.)

    steps:

    1:open "Terminal"

    2:install pip

    >sudo easy_install pip

    3:install Django

    >sudo pip install Django

    4:check version

    >django-admin.py --version

    5:start project

    >django-admin startproject projectname

    6:run this project on browser

    >python manage.py runserver

    7: search the default link

    http://127.0.0.1:8000/

    相关文章

      网友评论

          本文标题:1st: start the server with pytho

          本文链接:https://www.haomeiwen.com/subject/kspqbttx.html