Django学习
简明 Django
开始第一个django项目
DJ 基本设置
test django1.4 on centos6
quick to start django app
django app login system
boot django with uwsgi tool
nginx proxy django site from uwsgi
Python django 环境
python pyenv multi env
python install 2.7 on centos 6
windows support python 2.7
python3/pip3 on centos 6
Python 3 pip3 SSL未配置
本文档使用 MrDoc 发布
-
+
首页
test django1.4 on centos6
# dj install on centos 6 --- down load source tar ## download ez_setup setuptools. # wget https://bootstrap.pypa.io/ez_setup.py --no-check-certificate # chmod a+x ez_setup.py # python ez_setup.py https://www.djangoproject.com/download/ # wget https://www.djangoproject.com/m/releases/1.4/Django-1.4.22.tar.gz --no-check-certificate # cd Django-1.4.22 # python setup.py install ## download core headers. # wget https://pypi.python.org/packages/63/fb/6ae2d0079e9c9076486f6e166fb59aadadea2c09ed6cbd911beafede2627/ django-cors-headers-1.1.0.tar.gz#md5=204728fda96f9951ebfd8c2cabb54dfb --no-check-certificate # python setup.py install # /u/public/www/djcode # python manage.py runserver 0.0.0.0:80 # tree ./mysite/ ```python ./mysite/ ├── manage.py └── mysite ├── __init__.py ├── __init__.pyc ├── settings.py ├── settings.pyc ├── urls.py ├── urls.pyc ├── wsgi.py └── wsgi.pyc ``` ## 启动程序后。 ```python Validating models... 0 errors found Django version 1.4.22, using settings 'mysite.settings' Development server is running at http://0.0.0.0:80/ Quit the server with CONTROL-C. ``` 打开网页显示如下,说明安装后启动成功。 ```html It worked! Congratulations on your first Django-powered page. Of course, you haven't actually done any work yet. Here's what to do next: If you plan to use a database, edit the DATABASES setting in mysite/settings.py. Start your first app by running python manage.py startapp [appname]. You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work! ```
Bobby
2021年12月21日 23:40
分享文档
收藏文档
阅读
184
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码