<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.firespeaker.org/index.php?action=history&amp;feed=atom&amp;title=Pylons</id>
	<title>Pylons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.firespeaker.org/index.php?action=history&amp;feed=atom&amp;title=Pylons"/>
	<link rel="alternate" type="text/html" href="https://wiki.firespeaker.org/index.php?title=Pylons&amp;action=history"/>
	<updated>2026-05-14T11:30:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.firespeaker.org/index.php?title=Pylons&amp;diff=6698&amp;oldid=prev</id>
		<title>Firespeaker at 01:41, 6 June 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.firespeaker.org/index.php?title=Pylons&amp;diff=6698&amp;oldid=prev"/>
		<updated>2010-06-06T01:41:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:41, 6 June 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         #&amp;lt;/Proxy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         #&amp;lt;/Proxy&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This has to be called somewhere&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; $ python setup.py develop&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:1.41:old-6697:rev-6698:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Firespeaker</name></author>
	</entry>
	<entry>
		<id>https://wiki.firespeaker.org/index.php?title=Pylons&amp;diff=6697&amp;oldid=prev</id>
		<title>Firespeaker: Created page with &#039;How to get Pylons set up....   Make a virtualenv &lt;code&gt;   cd /usr/local/pythonenv      $ virtualenv --no-site-packages BASELINE   $ virtualenv --no-site-packages PYLONS-1   $ sou...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.firespeaker.org/index.php?title=Pylons&amp;diff=6697&amp;oldid=prev"/>
		<updated>2010-06-06T00:52:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;How to get Pylons set up....   Make a virtualenv &amp;lt;code&amp;gt;   cd /usr/local/pythonenv      $ virtualenv --no-site-packages BASELINE   $ virtualenv --no-site-packages PYLONS-1   $ sou...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;How to get Pylons set up....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make a virtualenv&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  cd /usr/local/pythonenv&lt;br /&gt;
  &lt;br /&gt;
  $ virtualenv --no-site-packages BASELINE&lt;br /&gt;
  $ virtualenv --no-site-packages PYLONS-1&lt;br /&gt;
  $ source PYLONS-1/bin/activate &lt;br /&gt;
  (PYLONS-1)$ easy_install Pylons&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make the project&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  (PYLONS-1)projects$ paster create -t pylons helloworld&lt;br /&gt;
  (PYLONS-1)projects$ cd helloworld&lt;br /&gt;
  (PYLONS-1)projects/helloworld$ paster controller hello&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Put a serve.wsgi file into the project&amp;#039;s base dir:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  import os, sys&lt;br /&gt;
  import site&lt;br /&gt;
  site.addsitedir(&amp;#039;/usr/local/pythonenv/PYLONS-1/lib/python2.5/site-packages&amp;#039;)&lt;br /&gt;
  os.environ[&amp;#039;PYTHON_EGG_CACHE&amp;#039;] = &amp;#039;/projects/helloworld/python-eggs&amp;#039;&lt;br /&gt;
  &lt;br /&gt;
  from paste.deploy import loadapp&lt;br /&gt;
  &lt;br /&gt;
  application = loadapp(&amp;#039;config:/projects/helloworld/development.ini&amp;#039;)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Point to serve.wsgi with Apache:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  &amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;
        ServerAdmin ...&lt;br /&gt;
        ServerName helloworld.example.com&lt;br /&gt;
        TransferLog ...&lt;br /&gt;
        ErrorLog ...&lt;br /&gt;
        WSGIScriptAlias / /projects/helloworld/serve.wsgi&lt;br /&gt;
        WSGIDaemonProcess helloworld.example.com processes=2 threads=15 display-name=%{GROUP} user=jonathan group=users&lt;br /&gt;
        WSGIProcessGroup helloworld.example.com&lt;br /&gt;
  &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also can make proxy via virtualhost:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        #ProxyRequests Off&lt;br /&gt;
        #Deny from all&lt;br /&gt;
        &lt;br /&gt;
        ...&lt;br /&gt;
        &lt;br /&gt;
        #ProxyPass / http://localhost:5000/&lt;br /&gt;
        #ProxyPassReverse / http://localhost:5000/&lt;br /&gt;
        #ProxyPreserveHost On&lt;br /&gt;
        #&amp;lt;Proxy *&amp;gt;&lt;br /&gt;
        #       Order deny,allow&lt;br /&gt;
        #       Allow from all&lt;br /&gt;
        #&amp;lt;/Proxy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Firespeaker</name></author>
	</entry>
</feed>