<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Adrián Deccico</title>
	<atom:link href="http://adrian.org.ar/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://adrian.org.ar</link>
	<description>just some random thoughts about coding</description>
	<lastBuildDate>Tue, 10 Jan 2012 00:09:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by adrian</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4234</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Tue, 10 Jan 2012 00:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4234</guid>
		<description>&lt;a href=&quot;#comment-4230&quot; rel=&quot;nofollow&quot;&gt;@Alexis Bellido &lt;/a&gt; 
Hi Alexis, I absolutely agree with you. Having the manual steps in this tutorial is just the first step. I am working in a tool (Bellatrix, already in the Cheese shop) to help with the automation of this. 

Probably will take a look at your scripts to combine it with Fabric.</description>
		<content:encoded><![CDATA[<p><a href="#comment-4230" rel="nofollow">@Alexis Bellido </a><br />
Hi Alexis, I absolutely agree with you. Having the manual steps in this tutorial is just the first step. I am working in a tool (Bellatrix, already in the Cheese shop) to help with the automation of this. </p>
<p>Probably will take a look at your scripts to combine it with Fabric.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Alexis Bellido</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4230</link>
		<dc:creator>Alexis Bellido</dc:creator>
		<pubDate>Mon, 09 Jan 2012 20:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4230</guid>
		<description>This is a good opportunity to wrap all these steps as a Fabric file, that way the next time you need to setup a server you just run one or two commands from the command line.

I wrote a Fabric file for a similar setup (Django 1.3, Ubuntu, Nginx, gunicorn and upstart) and released it as the Django gunicorn fabfile project on GitHub: https://github.com/alexisbellido/The-Django-gunicorn-fabfile-project</description>
		<content:encoded><![CDATA[<p>This is a good opportunity to wrap all these steps as a Fabric file, that way the next time you need to setup a server you just run one or two commands from the command line.</p>
<p>I wrote a Fabric file for a similar setup (Django 1.3, Ubuntu, Nginx, gunicorn and upstart) and released it as the Django gunicorn fabfile project on GitHub: <a href="https://github.com/alexisbellido/The-Django-gunicorn-fabfile-project" rel="nofollow">https://github.com/alexisbellido/The-Django-gunicorn-fabfile-project</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Daniel</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4211</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 09 Jan 2012 10:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4211</guid>
		<description>&lt;a href=&quot;#comment-4177&quot; rel=&quot;nofollow&quot;&gt;@admin &lt;/a&gt; Thanks a lot. I ended up not using VirtualEnv as I could simply not install psycopg2 to get PostgreSQL running. I may try again some day, but for now I have enough other problems setting up Django/Database etc.</description>
		<content:encoded><![CDATA[<p><a href="#comment-4177" rel="nofollow">@admin </a> Thanks a lot. I ended up not using VirtualEnv as I could simply not install psycopg2 to get PostgreSQL running. I may try again some day, but for now I have enough other problems setting up Django/Database etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by admin</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4177</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 08 Jan 2012 10:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4177</guid>
		<description>&lt;a href=&quot;#comment-4157&quot; rel=&quot;nofollow&quot;&gt;@Daniel &lt;/a&gt; 
Hi Daniel, I just updated the text. Thanks.

As you surely noticed Upstart is already installed in your Ubuntu system. 

&gt;&gt;I still don’t understand the whole virtualenv thing, only that I need it for Gunicorn. Right?

Virtualenv is useful for keeping your whole environment isolated, making possible to have two Python/Django applications running in the same system with a different set of (maybe) contradictory dependencies. 

For example you could easily setup another Django application that uses another Gunicorn version different than 0.13.4. For our tutorial purposes, Gunicorn could be installed globally. 

All in all Virtualenv and PIP is the recommended option for any Python development beyond very simple scripts.

More info:

http://en.wikipedia.org/wiki/Dependency_hell

http://pypi.python.org/pypi/virtualenv</description>
		<content:encoded><![CDATA[<p><a href="#comment-4157" rel="nofollow">@Daniel </a><br />
Hi Daniel, I just updated the text. Thanks.</p>
<p>As you surely noticed Upstart is already installed in your Ubuntu system. </p>
<p>>>I still don’t understand the whole virtualenv thing, only that I need it for Gunicorn. Right?</p>
<p>Virtualenv is useful for keeping your whole environment isolated, making possible to have two Python/Django applications running in the same system with a different set of (maybe) contradictory dependencies. </p>
<p>For example you could easily setup another Django application that uses another Gunicorn version different than 0.13.4. For our tutorial purposes, Gunicorn could be installed globally. </p>
<p>All in all Virtualenv and PIP is the recommended option for any Python development beyond very simple scripts.</p>
<p>More info:</p>
<p><a href="http://en.wikipedia.org/wiki/Dependency_hell" rel="nofollow">http://en.wikipedia.org/wiki/Dependency_hell</a></p>
<p><a href="http://pypi.python.org/pypi/virtualenv" rel="nofollow">http://pypi.python.org/pypi/virtualenv</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Daniel</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4157</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 07 Jan 2012 18:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4157</guid>
		<description>OK, I solved, I had to use sudo start django_app -- now it works like a charm. Thanks so much. I still don&#039;t understand the whole virtualenv thing, only that I need it for Gunicorn. Right?</description>
		<content:encoded><![CDATA[<p>OK, I solved, I had to use sudo start django_app &#8212; now it works like a charm. Thanks so much. I still don&#8217;t understand the whole virtualenv thing, only that I need it for Gunicorn. Right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Daniel</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4155</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 07 Jan 2012 17:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4155</guid>
		<description>Do I need to install Upstart in order to use start / stop django_app ?</description>
		<content:encoded><![CDATA[<p>Do I need to install Upstart in order to use start / stop django_app ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Daniel</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4154</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 07 Jan 2012 17:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4154</guid>
		<description>Only problem is that I don&#039;t get start django_app up and running. I tried to reboot machine, but whenever I try to execute django_app I get:

start: Rejected send message, 1 matched rules; type=&quot;method_call&quot;, sender=&quot;:1.11&quot; (uid=1000 pid=1610 comm=&quot;start django_app &quot;) interface=&quot;com.ubuntu.Upstart0_6.Job&quot; member=&quot;Start&quot; error name=&quot;(unset)&quot; requested_reply=&quot;0&quot; destination=&quot;com.ubuntu.Upstart&quot; (uid=0 pid=1 comm=&quot;/sbin/init&quot;)

Do you have any suggestions where I could have went wrong? Thanks.</description>
		<content:encoded><![CDATA[<p>Only problem is that I don&#8217;t get start django_app up and running. I tried to reboot machine, but whenever I try to execute django_app I get:</p>
<p>start: Rejected send message, 1 matched rules; type=&#8221;method_call&#8221;, sender=&#8221;:1.11&#8243; (uid=1000 pid=1610 comm=&#8221;start django_app &#8220;) interface=&#8221;com.ubuntu.Upstart0_6.Job&#8221; member=&#8221;Start&#8221; error name=&#8221;(unset)&#8221; requested_reply=&#8221;0&#8243; destination=&#8221;com.ubuntu.Upstart&#8221; (uid=0 pid=1 comm=&#8221;/sbin/init&#8221;)</p>
<p>Do you have any suggestions where I could have went wrong? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by Daniel</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-4149</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 07 Jan 2012 14:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-4149</guid>
		<description>Thanks so much for this great post. Have been trying to get Django running on an EC2 for the entire last week. This time it took 17 Minutes. Can&#039;t thank you enough.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this great post. Have been trying to get Django running on an EC2 for the entire last week. This time it took 17 Minutes. Can&#8217;t thank you enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by admin</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-3898</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 29 Dec 2011 12:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-3898</guid>
		<description>&lt;a href=&quot;#comment-3895&quot; rel=&quot;nofollow&quot;&gt;@suvash &lt;/a&gt; 
hi, definitely sudo is not required for directories under $HOME. I updated the text.

Regarding Pythonbrew, it definitely looks interesting. 

Cheers</description>
		<content:encoded><![CDATA[<p><a href="#comment-3895" rel="nofollow">@suvash </a><br />
hi, definitely sudo is not required for directories under $HOME. I updated the text.</p>
<p>Regarding Pythonbrew, it definitely looks interesting. </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Django 1.3 + NGinx 1.0.5 + Green Unicorn 0.13 in an Ubuntu 11.10 EC2 instance by suvash</title>
		<link>http://adrian.org.ar/python/django-nginx-green-unicorn-in-an-ubuntu-11-10-ec2-instance/comment-page-1#comment-3897</link>
		<dc:creator>suvash</dc:creator>
		<pubDate>Thu, 29 Dec 2011 12:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://adrian.org.ar/?p=212#comment-3897</guid>
		<description>&lt;a href=&quot;#comment-3872&quot; rel=&quot;nofollow&quot;&gt;@admin &lt;/a&gt; 

Further along, in the &quot;Setting up Nginx&quot; section, I&#039;m not sure if &quot;sudo&quot; is required for creating &quot;static&quot; and &quot;template&quot; directory (line 4,5). This will only let root to create/edit files in that directory.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3872" rel="nofollow">@admin </a> </p>
<p>Further along, in the &#8220;Setting up Nginx&#8221; section, I&#8217;m not sure if &#8220;sudo&#8221; is required for creating &#8220;static&#8221; and &#8220;template&#8221; directory (line 4,5). This will only let root to create/edit files in that directory.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

