mill2002 @博客园

contacting with pc fans and sharing collections

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/ 访问。

posted on   mill2002  阅读(394)  评论(0编辑  收藏  举报

编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
历史上的今天:
2007-01-31 从AJAX IN ACTION书中学用 RSS READER
< 2009年1月 >
28 29 30 31 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
1 2 3 4 5 6 7

导航

统计

点击右上角即可分享
微信分享提示