Permalink
Browse files

edit

  • Loading branch information...
1 parent 957f316 commit bfecf75b39e56b2286cb48bc1b4d8c8abef94c12 Angelo Gladding committed with anandology Jan 24, 2010
Showing with 11 additions and 19 deletions.
  1. +11 −19 installation.md
View
@@ -5,7 +5,7 @@ title: Installation
# Installation
-`web.py` supports Python 2.4 – 2.6 and has no immediate prerequisites.
+`web.py` supports Python 2.4 2.6 and has no immediate prerequisites.
1. [Stable Version](#stable)
1. [From Source](#source)
@@ -23,24 +23,24 @@ The easiest way to install `web.py` is using
<code>[easy_install](http://peak.telecommunity.com/DevCenter/EasyInstall)</code>.
<em><small><strong>Note</strong> that you will install the version specified in the [Python Package Index](http://pypi.python.org/pypi/web.py).</small></em>
-<pre class=prettyprint><code><kbd>easy_install web.py</kbd></code></pre>
+<pre><code><kbd>easy_install web.py</kbd></code></pre>
<h3 id=source>From Source</h3>
-<pre class=prettyprint><code><kbd>wget http://webpy.org/static/web.py-0.33.tar.gz</kbd>
+<pre><code><kbd>wget http://webpy.org/static/web.py-0.33.tar.gz</kbd>
<kbd>tar xvzf web.py-0.33.tar.gz</kbd>
<kbd></kbd></code></pre>
<h4 id=system>System-wide</h4>
-<pre class=prettyprint><code><kbd>cd web.py-0.33</kbd>
+<pre><code><kbd>cd web.py-0.33</kbd>
<kbd>sudo python setup.py install</kbd></code></pre>
<h4 id=local>Local</h4>
If you need to bundle `web.py` with your application extract the source to a `vendor` folder and create a symlink, normally within your package's root.
-<pre class=prettyprint><code><kbd>ln -s vendor/web.py-0.33/web web</kbd></code></pre>
+<pre><code><kbd>ln -s vendor/web.py-0.33/web web</kbd></code></pre>
<h3 id=distribution>Via GNU/Linux Distribution</h3>
@@ -49,33 +49,25 @@ If you need to bundle `web.py` with your application extract the source to a `ve
If you are on a Debian-based system you can install `web.py` using `apt-get`.
<em><small><strong>Note</strong> that you may not get the latest version as the Ubuntu/Debian release cycles are different from `web.py`. See <a href=http://packages.debian.org/search?searchon=names&keywords=python-webpy>Debian</a> and <a href=https://launchpad.net/ubuntu/+source/webpy>Ubuntu</a> package profiles for more information.</small></em>
-<pre class=prettyprint><code><kbd>sudo apt-get install python-webpy</kbd></code></pre>
+<pre><code><kbd>sudo apt-get install python-webpy</kbd></code></pre>
<h4 id=red-hat>Red Hat <small>or Fedora, RHEL, CentOS</small></h4>
If you are on a Red Hat-based system you can install `web.py` using `yum` or `up2date`.
<em><small><strong>Note</strong> that CentOS requires the [<abbr title="Extra Packages for Enterprise Linux">EPEL</abbr>](https://fedoraproject.org/wiki/EPEL) repository.</small></em>
-<pre class=prettyprint><code><kbd class=su>yum install python-webpy</kbd></code></pre>
-<pre class=prettyprint><code><kbd class=su>up2date -i python-webpy</kbd></code></pre>
+<pre><code><kbd class=su>yum install python-webpy</kbd></code></pre>
+<pre><code><kbd class=su>up2date -i python-webpy</kbd></code></pre>
<h2 id=development>Development Branch</h2>
To follow the bleeding edge clone the master branch.
-<pre class=prettyprint><code><kbd>git clone git://github.com/webpy/webpy.git</kbd></code></pre>
+<pre><code><kbd>git clone git://github.com/webpy/webpy.git</kbd></code></pre>
<h2 id=verify>Verify</h2>
-<pre class=prettyprint><code><kbd>python -c "import web; web.application(('/', lambda: 'success')).run()"</kbd>
+<pre><code><kbd>python -c "import web; web.application(('/', lambda: 'success')).run()"</kbd>
<samp>http://0.0.0.0:8080/</samp></code></pre>
-Point a browser to your host at port `8080` and expect a response of `success`.
-
-<script src=http://angelo.gladding.name/assets/jquery.js></script>
-<script src=http://angelo.gladding.name/assets/webpy/js-prettify/prettify.js></script>
-<script src=http://angelo.gladding.name/assets/webpy/enliven.js></script>
-<style>
-@import url(http://angelo.gladding.name/assets/webpy/js-prettify/prettify.css);
-@import url(http://angelo.gladding.name/assets/webpy/changes.css);
-</style>
+Point a browser to your host at port `8080` and expect a response of `success`.

0 comments on commit bfecf75

Please sign in to comment.