zoukankan      html  css  js  c++  java
  • start django server

    go to directory of Django in command line,such as G:\Documents and Setting\rss2008

    \google_appengine\lib\django>
    type:python setup.py install
    this command will create folder named django in G:\python25\Lib\site-packages\ and file
    named django-admin.py in G:\python25\Scripts\

    Next step is to start a project named mysite and run django server:
    first: setup the file path of django-admin.py as system path,
    second: Go into directory you want to begin a project,such as G:\Documents and
    Setting\rss2008\,type command: django-admin.py startproject mysite,
     a project named mysite will be produced.
    third: enter into mysite directory and type command:python manage.py runserver
    you can browser in http://127.0.0.1:8000/

    for more details,refer to django book's chapter two

    启动DJANGO SERVER,将光标定位在mysite的文件夹,如

    G:\Documents and Settings\rss2008\mysite>
    键入:python manage.py runserver
    就可启动。
    在浏览器中,输入:http://127.0.0.1:8000/ 访问。
  • 相关阅读:
    缺省源
    MySQL曹操外卖一
    MySQL曹操外卖二
    正确使用MySQL外键约束
    html大部分实用标签(结构型)
    html超级基础标签
    我的简单作业
    章节课程复习笔记
    FC超级玛丽研究(NES游戏)
    二维码生成
  • 原文地址:https://www.cnblogs.com/mill2002/p/1381649.html
Copyright © 2011-2022 走看看