The following describes how to use and extend manage commands in the Python Django framework: pythondjango
[Overview]
Django-admin.py is a command line tool for Django to manage tasks. This article describes its general usage.
In addition, there is
Directory
Nginx+uwsgi+django Deploying a Web server
Environment description
Objective
Building projects
Django Deployment
Editluffy/luffy/settings.py
Editluffy/app01/views.py
Nginx-ubuntu Chinese
Page
Discuss
View Source code
History
Navigation
Home
Recent Changes
Random page
Page category
Help
Edit
Editing guide
Sand box
News Update
word
IKI Links: Cgi-http://en.wikipedia.org/wiki/common_gateway_interface fcgi-http://en.wikipedia.org/wiki/fcgi scgi-http://en.wikipedia.org/wiki/scgi Wsgi-http://en.wikipedia.org/wiki/wsgi Other reference:
Recently, because of the needs of the project to start a large number of nginx, so also want to take the opportunity to use the previous Django+apache architecture to replace the Django+nginx. The common Django WebApp deployment approach is FCGI
Nginx + uwsgi or fastcgi deploy the Django project, nginxdjangoNginx + uwsgi
Install the C compiler and Python environment in ubuntu:
sudo apt-get install build-essential python-dev
Use pip to install uwsgi:
pip install uwsgi
Nginx
Deployment summary of nginx + python + fastcgi in linux (django version)Note: Although this article has successfully set up an instance for django to run fastcgi, many problems have been found during actual operation, such as program execution
This article mainly introduces the simple Apache + FastCGI + Django Configuration Guide, this is also the most popular environment for deploying Django, the most popular web framework in Python. For more information, see use Django on Apache and
On Linux, Nginx + Python's web. py and Django framework environment,
1. Compile nginxI bought a copy of "Practical nginx-replacing Apache high-performance server" on the Internet, which is relatively simple to write. It mainly involves configuration,
Install nginxSudo apt-get install nginxAfter Ubuntu is installed, the file structure is roughly as follows:All configuration files are under/etc/nginx, and each virtual host is already under/etc/nginx/sites-available.Program file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.