Skip to content

Commit de75e22

Browse files
committed
cleaning up web deployment pages
1 parent ca44c04 commit de75e22

File tree

10 files changed

+152
-134
lines changed

10 files changed

+152
-134
lines changed

all.html

Lines changed: 57 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3988,29 +3988,36 @@ <h2>Platform-as-a-service resources</h2>
39883988
</li>
39893989
</ul>
39903990
<h2>Platform-as-a-service learning checklist</h2>
3991-
<p><i class="fa fa-check-square-o"></i>
3992-
Review the potential Python platform-as-a-service options above and on their
3993-
websites.</p>
3994-
<p><i class="fa fa-check-square-o"></i>
3995-
Sign up for a PaaS account at the provider that appears to best fit your
3996-
application needs. Heroku is the PaaS option recommended for starters due to
3997-
their detailed documentation and walkthroughs available on the web. However,
3998-
the other options are perfectly viable since their purpose is to make deploying
3999-
applications as easy as possible.</p>
4000-
<p><i class="fa fa-check-square-o"></i>
4001-
Check if there are any PaaS-specific configuration files needed for your app
4002-
to run properly on the PaaS after it is deployed.</p>
4003-
<p><i class="fa fa-check-square-o"></i>
4004-
Deploy your app to the PaaS. </p>
4005-
<p><i class="fa fa-check-square-o"></i>
4006-
Sync your application's configuration with the database.</p>
4007-
<p><i class="fa fa-check-square-o"></i>
4008-
Set up a content delivery network for your application's
4009-
<a href="/static-content.html">static content</a> unless your PaaS provider already
4010-
handles this deployment step for you.</p>
4011-
<p><i class="fa fa-check-square-o"></i>
4012-
Check if the application's functionality is working and tweak as necessary.</p>
4013-
<h3>Do you want to use a PaaS or deploy to a traditional server?</h3>
3991+
<ol>
3992+
<li>
3993+
<p>Review the potential Python platform-as-a-service options listed above.</p>
3994+
</li>
3995+
<li>
3996+
<p>Sign up for a PaaS account at the provider that appears to best fit your
3997+
application needs. Heroku is the PaaS option recommended for starters due
3998+
to their detailed documentation and walkthroughs available on the web.
3999+
However, the other options are also viable since their purpose is to make
4000+
deploying applications as easy as possible.</p>
4001+
</li>
4002+
<li>
4003+
<p>Check if there are any PaaS-specific configuration files needed for your
4004+
app to run properly on the PaaS after it is deployed.</p>
4005+
</li>
4006+
<li>
4007+
<p>Deploy your app to the PaaS. </p>
4008+
</li>
4009+
<li>
4010+
<p>Sync your application's configuration with the database.</p>
4011+
</li>
4012+
<li>
4013+
<p>Set up a content delivery network for your application's
4014+
<a href="/static-content.html">static content</a> unless your PaaS provider already
4015+
handles this deployment step for you.</p>
4016+
</li>
4017+
<li>
4018+
<p>Check if the application's functionality is working and tweak as necessary.</p>
4019+
</li>
4020+
</ol>
40144021
<h1>Operating Systems</h1>
40154022
<p>An operating system runs on the server or virtual server and controls access
40164023
to computing resources. The operating system also includes a way to install
@@ -4021,7 +4028,7 @@ <h2>Why are operating systems necessary?</h2>
40214028
communicating over a network and running multiple programs at once.
40224029
Otherwise you'd need to control the CPU, memory, network, graphics card,
40234030
and many other components with your own low-level implementation.</p>
4024-
<p>Without using an existing operating system like Linux, Mac OS X, or Windows,
4031+
<p>Without using an existing operating system like Linux, Mac OS X or Windows,
40254032
you'd be forced to write a new operating system as part of your web
40264033
application. It would be impossible to write features for your Python
40274034
web application because you'd be too busy hunting down a memory leak in
@@ -4077,7 +4084,7 @@ <h3>Red Hat and CentOS</h3>
40774084
Yellowdog Updater, Modified (YUM). RPM has a specific .rpm file format
40784085
to handle the packaging and installation of libraries and applications. YUM
40794086
provides a command-line interface for interacting with the RPM system.</p>
4080-
<h2>Operating System Resources</h2>
4087+
<h2>Operating system resources</h2>
40814088
<ul>
40824089
<li>
40834090
<p><a href="http://www.linux.org/threads/selecting-a-linux-distribution.4087/">What is a Linux distribution and how do I choose the right one?</a></p>
@@ -4112,24 +4119,31 @@ <h2>Operating System Resources</h2>
41124119
low level booting process.</p>
41134120
</li>
41144121
</ul>
4115-
<h2>Operating systems learning checklist</h2>
4116-
<p><i class="fa fa-check-square-o"></i>
4117-
Choose either a Debian-based Linux distribution such as Ubuntu or a
4118-
Fedora-based distribution like CentOS.</p>
4119-
<p><i class="fa fa-check-square-o"></i>
4120-
Harden the security through a few basic steps. Install basic security
4121-
packages such as <a href="http://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a>
4122-
or its equivalent. Create a new user account with sudo privileges and disable
4123-
root logins. Disable password-only logins and use a public-private keypair
4124-
instead. Read more about hardening systems in the resources listed below.</p>
4125-
<p><i class="fa fa-check-square-o"></i>
4126-
Install Python-specific packages to prepare the environment for running a
4127-
Python application. Which packages you'll need to install depends on the
4128-
distribution you've selected.</p>
4129-
<p><i class="fa fa-check-square-o"></i>
4130-
Read up on <a href="/web-servers.html">web servers</a> as installing one will be the
4131-
next step in the deployment process.</p>
4132-
<h3>What topic do you need to learn to keep going?</h3>
4122+
<h2>Operating system learning checklist</h2>
4123+
<ol>
4124+
<li>
4125+
<p>Choose either a Debian-based Linux distribution such as Ubuntu or a
4126+
Fedora-based distribution like CentOS.</p>
4127+
</li>
4128+
<li>
4129+
<p>Harden the security through a few basic steps. Install basic security
4130+
packages such as
4131+
<a href="http://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a> and
4132+
<a href="https://help.ubuntu.com/community/AutomaticSecurityUpdates">unattended-upgrades</a>.
4133+
Create a new user account with sudo privileges and disable
4134+
root logins. Disable password-only logins and use a public-private keypair
4135+
instead. Read more about hardening systems in the resources listed below.</p>
4136+
</li>
4137+
<li>
4138+
<p>Install Python-specific packages to prepare the environment for running a
4139+
Python application. Which packages you'll need to install depends on the
4140+
distribution you've selected.</p>
4141+
</li>
4142+
<li>
4143+
<p>Read up on <a href="/web-servers.html">web servers</a> as installing one will be the
4144+
next step in the deployment process.</p>
4145+
</li>
4146+
</ol>
41334147
<h1>Web servers</h1>
41344148
<p>Web servers respond to
41354149
<a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">Hypertext Transfer Protocol</a> (HTTP)

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>2015-05-29T17:35:08Z</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>2015-05-30T12:43:43Z</updated></feed>

operating-systems.html

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>Why are operating systems necessary?</h2>
4444
communicating over a network and running multiple programs at once.
4545
Otherwise you'd need to control the CPU, memory, network, graphics card,
4646
and many other components with your own low-level implementation.</p>
47-
<p>Without using an existing operating system like Linux, Mac OS X, or Windows,
47+
<p>Without using an existing operating system like Linux, Mac OS X or Windows,
4848
you'd be forced to write a new operating system as part of your web
4949
application. It would be impossible to write features for your Python
5050
web application because you'd be too busy hunting down a memory leak in
@@ -100,7 +100,7 @@ <h3>Red Hat and CentOS</h3>
100100
Yellowdog Updater, Modified (YUM). RPM has a specific .rpm file format
101101
to handle the packaging and installation of libraries and applications. YUM
102102
provides a command-line interface for interacting with the RPM system.</p>
103-
<h2>Operating System Resources</h2>
103+
<h2>Operating system resources</h2>
104104
<ul>
105105
<li>
106106
<p><a href="http://www.linux.org/threads/selecting-a-linux-distribution.4087/">What is a Linux distribution and how do I choose the right one?</a></p>
@@ -135,24 +135,32 @@ <h2>Operating System Resources</h2>
135135
low level booting process.</p>
136136
</li>
137137
</ul>
138-
<h2>Operating systems learning checklist</h2>
139-
<p><i class="fa fa-check-square-o"></i>
140-
Choose either a Debian-based Linux distribution such as Ubuntu or a
141-
Fedora-based distribution like CentOS.</p>
142-
<p><i class="fa fa-check-square-o"></i>
143-
Harden the security through a few basic steps. Install basic security
144-
packages such as <a href="http://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a>
145-
or its equivalent. Create a new user account with sudo privileges and disable
146-
root logins. Disable password-only logins and use a public-private keypair
147-
instead. Read more about hardening systems in the resources listed below.</p>
148-
<p><i class="fa fa-check-square-o"></i>
149-
Install Python-specific packages to prepare the environment for running a
150-
Python application. Which packages you'll need to install depends on the
151-
distribution you've selected.</p>
152-
<p><i class="fa fa-check-square-o"></i>
153-
Read up on <a href="/web-servers.html">web servers</a> as installing one will be the
154-
next step in the deployment process.</p>
155-
<h3>What topic do you need to learn to keep going?</h3>
138+
<h2>Operating system learning checklist</h2>
139+
<ol>
140+
<li>
141+
<p>Choose either a Debian-based Linux distribution such as Ubuntu or a
142+
Fedora-based distribution like CentOS.</p>
143+
</li>
144+
<li>
145+
<p>Harden the security through a few basic steps. Install basic security
146+
packages such as
147+
<a href="http://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a> and
148+
<a href="https://help.ubuntu.com/community/AutomaticSecurityUpdates">unattended-upgrades</a>.
149+
Create a new user account with sudo privileges and disable
150+
root logins. Disable password-only logins and use a public-private keypair
151+
instead. Read more about hardening systems in the resources listed below.</p>
152+
</li>
153+
<li>
154+
<p>Install Python-specific packages to prepare the environment for running a
155+
Python application. Which packages you'll need to install depends on the
156+
distribution you've selected.</p>
157+
</li>
158+
<li>
159+
<p>Read up on <a href="/web-servers.html">web servers</a> as installing one will be the
160+
next step in the deployment process.</p>
161+
</li>
162+
</ol>
163+
<h3>After setting up your OS you should configure a web server.</h3>
156164
<div class="row">
157165
<div class="col-md-4">
158166
<div class="well select-next">

platform-as-a-service.html

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -128,29 +128,37 @@ <h2>Platform-as-a-service resources</h2>
128128
</li>
129129
</ul>
130130
<h2>Platform-as-a-service learning checklist</h2>
131-
<p><i class="fa fa-check-square-o"></i>
132-
Review the potential Python platform-as-a-service options above and on their
133-
websites.</p>
134-
<p><i class="fa fa-check-square-o"></i>
135-
Sign up for a PaaS account at the provider that appears to best fit your
136-
application needs. Heroku is the PaaS option recommended for starters due to
137-
their detailed documentation and walkthroughs available on the web. However,
138-
the other options are perfectly viable since their purpose is to make deploying
139-
applications as easy as possible.</p>
140-
<p><i class="fa fa-check-square-o"></i>
141-
Check if there are any PaaS-specific configuration files needed for your app
142-
to run properly on the PaaS after it is deployed.</p>
143-
<p><i class="fa fa-check-square-o"></i>
144-
Deploy your app to the PaaS. </p>
145-
<p><i class="fa fa-check-square-o"></i>
146-
Sync your application's configuration with the database.</p>
147-
<p><i class="fa fa-check-square-o"></i>
148-
Set up a content delivery network for your application's
149-
<a href="/static-content.html">static content</a> unless your PaaS provider already
150-
handles this deployment step for you.</p>
151-
<p><i class="fa fa-check-square-o"></i>
152-
Check if the application's functionality is working and tweak as necessary.</p>
153-
<h3>Do you want to use a PaaS or deploy to a traditional server?</h3>
131+
<ol>
132+
<li>
133+
<p>Review the potential Python platform-as-a-service options listed above.</p>
134+
</li>
135+
<li>
136+
<p>Sign up for a PaaS account at the provider that appears to best fit your
137+
application needs. Heroku is the PaaS option recommended for starters due
138+
to their detailed documentation and walkthroughs available on the web.
139+
However, the other options are also viable since their purpose is to make
140+
deploying applications as easy as possible.</p>
141+
</li>
142+
<li>
143+
<p>Check if there are any PaaS-specific configuration files needed for your
144+
app to run properly on the PaaS after it is deployed.</p>
145+
</li>
146+
<li>
147+
<p>Deploy your app to the PaaS. </p>
148+
</li>
149+
<li>
150+
<p>Sync your application's configuration with the database.</p>
151+
</li>
152+
<li>
153+
<p>Set up a content delivery network for your application's
154+
<a href="/static-content.html">static content</a> unless your PaaS provider already
155+
handles this deployment step for you.</p>
156+
</li>
157+
<li>
158+
<p>Check if the application's functionality is working and tweak as necessary.</p>
159+
</li>
160+
</ol>
161+
<h3>What deployment topic do you want to learn about next?</h3>
154162
<div class="row">
155163
<div class="col-md-4">
156164
<div class="well select-next">

source/content/pages/07-web-app-deployment/04-platform-as-a-service.markdown

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,34 +93,24 @@ application framework and your app itself is up to date and secured. See the
9393

9494

9595
## Platform-as-a-service learning checklist
96-
<i class="fa fa-check-square-o"></i>
97-
Review the potential Python platform-as-a-service options above and on their
98-
websites.
96+
1. Review the potential Python platform-as-a-service options listed above.
9997

100-
<i class="fa fa-check-square-o"></i>
101-
Sign up for a PaaS account at the provider that appears to best fit your
102-
application needs. Heroku is the PaaS option recommended for starters due to
103-
their detailed documentation and walkthroughs available on the web. However,
104-
the other options are perfectly viable since their purpose is to make deploying
105-
applications as easy as possible.
98+
1. Sign up for a PaaS account at the provider that appears to best fit your
99+
application needs. Heroku is the PaaS option recommended for starters due
100+
to their detailed documentation and walkthroughs available on the web.
101+
However, the other options are also viable since their purpose is to make
102+
deploying applications as easy as possible.
106103

107-
<i class="fa fa-check-square-o"></i>
108-
Check if there are any PaaS-specific configuration files needed for your app
109-
to run properly on the PaaS after it is deployed.
104+
1. Check if there are any PaaS-specific configuration files needed for your
105+
app to run properly on the PaaS after it is deployed.
110106

111-
<i class="fa fa-check-square-o"></i>
112-
Deploy your app to the PaaS.
107+
1. Deploy your app to the PaaS.
113108

114-
<i class="fa fa-check-square-o"></i>
115-
Sync your application's configuration with the database.
109+
1. Sync your application's configuration with the database.
116110

117-
<i class="fa fa-check-square-o"></i>
118-
Set up a content delivery network for your application's
119-
[static content](/static-content.html) unless your PaaS provider already
120-
handles this deployment step for you.
111+
1. Set up a content delivery network for your application's
112+
[static content](/static-content.html) unless your PaaS provider already
113+
handles this deployment step for you.
121114

122-
<i class="fa fa-check-square-o"></i>
123-
Check if the application's functionality is working and tweak as necessary.
115+
1. Check if the application's functionality is working and tweak as necessary.
124116

125-
126-
### Do you want to use a PaaS or deploy to a traditional server?

source/content/pages/07-web-app-deployment/05-operating-systems.markdown

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ communicating over a network and running multiple programs at once.
1818
Otherwise you'd need to control the CPU, memory, network, graphics card,
1919
and many other components with your own low-level implementation.
2020

21-
Without using an existing operating system like Linux, Mac OS X, or Windows,
21+
Without using an existing operating system like Linux, Mac OS X or Windows,
2222
you'd be forced to write a new operating system as part of your web
2323
application. It would be impossible to write features for your Python
2424
web application because you'd be too busy hunting down a memory leak in
@@ -83,7 +83,7 @@ to handle the packaging and installation of libraries and applications. YUM
8383
provides a command-line interface for interacting with the RPM system.
8484

8585

86-
## Operating System Resources
86+
## Operating system resources
8787
* [What is a Linux distribution and how do I choose the right one?](http://www.linux.org/threads/selecting-a-linux-distribution.4087/)
8888

8989
* Lifehacker's [guide to choosing a Linux distro](http://lifehacker.com/5889950/how-to-find-the-perfect-linux-distribution-for-you).
@@ -109,26 +109,22 @@ provides a command-line interface for interacting with the RPM system.
109109
low level booting process.
110110

111111

112-
## Operating systems learning checklist
113-
<i class="fa fa-check-square-o"></i>
114-
Choose either a Debian-based Linux distribution such as Ubuntu or a
115-
Fedora-based distribution like CentOS.
112+
## Operating system learning checklist
113+
1. Choose either a Debian-based Linux distribution such as Ubuntu or a
114+
Fedora-based distribution like CentOS.
116115

117-
<i class="fa fa-check-square-o"></i>
118-
Harden the security through a few basic steps. Install basic security
119-
packages such as [fail2ban](http://www.fail2ban.org/wiki/index.php/Main_Page)
120-
or its equivalent. Create a new user account with sudo privileges and disable
121-
root logins. Disable password-only logins and use a public-private keypair
122-
instead. Read more about hardening systems in the resources listed below.
116+
1. Harden the security through a few basic steps. Install basic security
117+
packages such as
118+
[fail2ban](http://www.fail2ban.org/wiki/index.php/Main_Page) and
119+
[unattended-upgrades](https://help.ubuntu.com/community/AutomaticSecurityUpdates).
120+
Create a new user account with sudo privileges and disable
121+
root logins. Disable password-only logins and use a public-private keypair
122+
instead. Read more about hardening systems in the resources listed below.
123123

124-
<i class="fa fa-check-square-o"></i>
125-
Install Python-specific packages to prepare the environment for running a
126-
Python application. Which packages you'll need to install depends on the
127-
distribution you've selected.
124+
1. Install Python-specific packages to prepare the environment for running a
125+
Python application. Which packages you'll need to install depends on the
126+
distribution you've selected.
128127

129-
<i class="fa fa-check-square-o"></i>
130-
Read up on [web servers](/web-servers.html) as installing one will be the
131-
next step in the deployment process.
128+
1. Read up on [web servers](/web-servers.html) as installing one will be the
129+
next step in the deployment process.
132130

133-
134-
### What topic do you need to learn to keep going?

source/content/pages/07-web-app-deployment/06-web-servers.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ title: Web Servers
22
category: page
33
slug: web-servers
44
sort-order: 0706
5-
meta: A web server responds to HTTP requests and responds to clients. Learn more about how web servers interact with Python web apps on Full Stack Python.
5+
meta: A web server handles HTTP requests and responses. Learn how web servers work with Python web apps on Full Stack Python.
66

77

88
# Web servers

source/theme/templates/choices/operating-systems.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<h3>After setting up your OS you should configure a web server.</h3>
12
<div class="row">
23
<div class="col-md-4">
34
<div class="well select-next">

source/theme/templates/choices/platform-as-a-service.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<h3>What deployment topic do you want to learn about next?</h3>
12
<div class="row">
23
<div class="col-md-4">
34
<div class="well select-next">

0 commit comments

Comments
 (0)