Skip to content

Commit 1e61350

Browse files
committed
adding recommended WSGI servers
1 parent 87a294a commit 1e61350

File tree

5 files changed

+62
-28
lines changed

5 files changed

+62
-28
lines changed

deployment.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ <h2>Deployment hosting options</h2>
7474
<p>Note that there are other ways of installing a Python web application through
7575
system-specific package management systems. We won't cover those in this
7676
guide as they are considered advanced deployment techniques.</p>
77+
<h2>Deployment resources</h2>
78+
<ul>
79+
<li>
80+
<p><a href="http://omniti.com/seeds/thoughts-on-web-application-deployment">Thoughts on web application deployment</a>
81+
walks through stages of deployment with source control, planning,
82+
continuous deployment and monitoring the results.</p>
83+
</li>
84+
<li>
85+
<p><a href="http://blogs.atlassian.com/2014/04/practical-continuous-deployment/">Practical continuous deployment</a>
86+
defines delivery versus deployment and walks through a continuous deployment
87+
workflow.</p>
88+
</li>
89+
</ul>
7790
<h2>Deployment learning checklist</h2>
7891
<p><i class="fa fa-check-square-o"></i>
7992
If you're tight on time look at the
@@ -91,19 +104,6 @@ <h2>Deployment learning checklist</h2>
91104
<a href="/web-servers.html">web servers</a> and <a href="/wsgi-servers.html">WSGI servers</a> to get
92105
a broad picture of what components need to be set up to run a Python web
93106
application.</p>
94-
<h2>Deployment resources</h2>
95-
<ul>
96-
<li>
97-
<p><a href="http://omniti.com/seeds/thoughts-on-web-application-deployment">Thoughts on web application deployment</a>
98-
walks through stages of deployment with source control, planning,
99-
continuous deployment and monitoring the results.</p>
100-
</li>
101-
<li>
102-
<p><a href="http://blogs.atlassian.com/2014/04/practical-continuous-deployment/">Practical continuous deployment</a>
103-
defines delivery versus deployment and walks through a continuous deployment
104-
workflow.</p>
105-
</li>
106-
</ul>
107107
<h3>How would you like to deploy your web app?</h3>
108108
<div class="row">
109109
<div class="col-md-4">

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-15T08:01:44Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-15T21:03:04Z</updated></feed>

source/content/pages/03-deployment/0301-deployment.markdown

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ system-specific package management systems. We won't cover those in this
4848
guide as they are considered advanced deployment techniques.
4949

5050

51+
## Deployment resources
52+
* [Thoughts on web application deployment](http://omniti.com/seeds/thoughts-on-web-application-deployment)
53+
walks through stages of deployment with source control, planning,
54+
continuous deployment and monitoring the results.
55+
56+
* [Practical continuous deployment](http://blogs.atlassian.com/2014/04/practical-continuous-deployment/)
57+
defines delivery versus deployment and walks through a continuous deployment
58+
workflow.
59+
60+
5161
## Deployment learning checklist
5262
<i class="fa fa-check-square-o"></i>
5363
If you're tight on time look at the
@@ -69,14 +79,4 @@ a broad picture of what components need to be set up to run a Python web
6979
application.
7080

7181

72-
## Deployment resources
73-
* [Thoughts on web application deployment](http://omniti.com/seeds/thoughts-on-web-application-deployment)
74-
walks through stages of deployment with source control, planning,
75-
continuous deployment and monitoring the results.
76-
77-
* [Practical continuous deployment](http://blogs.atlassian.com/2014/04/practical-continuous-deployment/)
78-
defines delivery versus deployment and walks through a continuous deployment
79-
workflow.
80-
81-
8282
### How would you like to deploy your web app?

source/content/pages/03-deployment/0311-wsgi-servers.markdown

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ WSGI v1.0 is superseded by
9797
v1.0.1 WSGI standard.
9898

9999

100-
## Example configuration
100+
## Example web server configuration
101101
A web server's configuration specifies what requests should be passed to
102102
the WSGI server to process. Once a request is processed and generated by the
103103
WSGI server, the response is passed back through the web server and onto
@@ -142,7 +142,23 @@ configuration. For real SSL and non-SSL templates, take a look at the
142142
[Underwear web server templates](https://github.com/makaimc/underwear/tree/master/underwear/roles/web/templates) on GitHub.
143143

144144

145-
## WSGI Resources
145+
## WSGI servers
146+
There is a comprehensive list of WSGI servers on the
147+
[WSGI Read the Docs](http://wsgi.readthedocs.org/en/latest/servers.html) page.
148+
The following are WSGI servers based on community recommendations.
149+
150+
* [Green Unicorn](http://gunicorn.org/) is a pre-fork worker model based
151+
server ported from the Ruby [Unicorn](http://unicorn.bogomips.org/) project.
152+
153+
* [uWSGI](http://uwsgi-docs.readthedocs.org/en/latest/) is gaining steam as
154+
a highly-performant WSGI server implementation.
155+
156+
* [mod\_wsgi](https://code.google.com/p/modwsgi/) is an Apache module
157+
implementing the WSGI specification.
158+
159+
160+
161+
## WSGI resources
146162
* [PEP 0333 WSGI v1.0](http://www.python.org/dev/peps/pep-0333/)
147163
and
148164
[PEP 3333 WSGI v1.0.1](http://www.python.org/dev/peps/pep-3333/)

wsgi-servers.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h2>Official WSGI specifications</h2>
119119
WSGI v1.0 is superseded by
120120
<a href="http://www.python.org/dev/peps/pep-3333/">PEP 3333</a>, which defines the
121121
v1.0.1 WSGI standard.</p>
122-
<h2>Example configuration</h2>
122+
<h2>Example web server configuration</h2>
123123
<p>A web server's configuration specifies what requests should be passed to
124124
the WSGI server to process. Once a request is processed and generated by the
125125
WSGI server, the response is passed back through the web server and onto
@@ -162,7 +162,25 @@ <h2>Example configuration</h2>
162162
<p>Note that the above code is a simplified version of a production-ready Nginx
163163
configuration. For real SSL and non-SSL templates, take a look at the
164164
<a href="https://github.com/makaimc/underwear/tree/master/underwear/roles/web/templates">Underwear web server templates</a> on GitHub.</p>
165-
<h2>WSGI Resources</h2>
165+
<h2>WSGI servers</h2>
166+
<p>There is a comprehensive list of WSGI servers on the
167+
<a href="http://wsgi.readthedocs.org/en/latest/servers.html">WSGI Read the Docs</a> page.
168+
The following are WSGI servers based on community recommendations.</p>
169+
<ul>
170+
<li>
171+
<p><a href="http://gunicorn.org/">Green Unicorn</a> is a pre-fork worker model based
172+
server ported from the Ruby <a href="http://unicorn.bogomips.org/">Unicorn</a> project.</p>
173+
</li>
174+
<li>
175+
<p><a href="http://uwsgi-docs.readthedocs.org/en/latest/">uWSGI</a> is gaining steam as
176+
a highly-performant WSGI server implementation.</p>
177+
</li>
178+
<li>
179+
<p><a href="https://code.google.com/p/modwsgi/">mod_wsgi</a> is an Apache module
180+
implementing the WSGI specification.</p>
181+
</li>
182+
</ul>
183+
<h2>WSGI resources</h2>
166184
<ul>
167185
<li>
168186
<p><a href="http://www.python.org/dev/peps/pep-0333/">PEP 0333 WSGI v1.0</a>

0 commit comments

Comments
 (0)