<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>DevignInnovation</title>
	
	<link>http://www.devigninnovation.com</link>
	<description>code stuff</description>
	<lastBuildDate>Sat, 13 Aug 2011 18:26:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/devignblog" /><feedburner:info uri="devignblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Basic Django setup with VirtualEnv and Pip</title>
		<link>http://feedproxy.google.com/~r/devignblog/~3/6j3CjvasqL4/</link>
		<comments>http://www.devigninnovation.com/2011/08/13/basic-django-setup-with-virtualenv-and-pip/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 14:06:55 +0000</pubDate>
		<dc:creator>Helmut</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pip]]></category>
		<category><![CDATA[south]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://www.devigninnovation.com/?p=68</guid>
		<description><![CDATA[For a while I struggled to get an ideal setup procedure for new Django projects. On an Ubuntu-based system, this is the process I now follow for each new Django project (I assume MySQL is already installed): 1. Change to your project&#8217;s directory 2. Install VirtualEnv 3. Initialize the virtual environment for your project (substitute [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I struggled to get an ideal setup procedure for new Django projects. On an Ubuntu-based system, this is the process I now follow for each new Django project (I assume MySQL is already installed):</p>
<ul>
<li>1. Change to your project&#8217;s directory</li>
<li>2. Install VirtualEnv</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">sudo easy_install -U virtualenv</pre>
</div>
<ul>
<li>3. Initialize the virtual environment for your project (substitute your own directory for &#8220;ve&#8221; if you want)</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">virtualenv --no-site-packages ve/</pre>
</div>
<ul>
<li>4. Activate the virtual environment</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">source ve/bin/activate</pre>
</div>
<ul>
<li>5. Install Pip (<strong>UPDATE</strong>: this is only required if you want to update to the latest version, since Pip is included with VirtualEnv)</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">easy_install -U pip</pre>
</div>
<ul>
<li>6. Install Django</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">pip install Django</pre>
</div>
<ul>
<li>7. Install MySQL bindings for python</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">pip install MySQL-python
sudo apt-get install libmysqlclient-dev</pre>
</div>
<ul>
<li>8. Install Django-South, if you use it</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">pip install south</pre>
</div>
<ul>
<li>9. Create your Django project, application, etc.</li>
</ul>
<p>I&#8217;ve tried different approaches (including Vagrant), but I like this method because it is very simple. How do you go about a new Django setup? Anything that can be improved?</p>
<p><strong>UPDATE</strong>: Thanks to Doug Warren for some pointers on what to improve. Further changes coming soon.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/devignblog?a=6j3CjvasqL4:hTg7xLWgSYk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/devignblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=6j3CjvasqL4:hTg7xLWgSYk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/devignblog?i=6j3CjvasqL4:hTg7xLWgSYk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=6j3CjvasqL4:hTg7xLWgSYk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/devignblog?i=6j3CjvasqL4:hTg7xLWgSYk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=6j3CjvasqL4:hTg7xLWgSYk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/devignblog?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/devignblog/~4/6j3CjvasqL4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.devigninnovation.com/2011/08/13/basic-django-setup-with-virtualenv-and-pip/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.devigninnovation.com/2011/08/13/basic-django-setup-with-virtualenv-and-pip/</feedburner:origLink></item>
		<item>
		<title>Multiple Apache websites on Ubuntu</title>
		<link>http://feedproxy.google.com/~r/devignblog/~3/3bO8Bumpd6Q/</link>
		<comments>http://www.devigninnovation.com/2011/08/08/setting-up-multiple-localhost-websites-on-apache/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 17:21:06 +0000</pubDate>
		<dc:creator>Helmut</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.devigninnovation.com/?p=36</guid>
		<description><![CDATA[To set up multiple local websites on Apache, follow this process. 1. Install Apache 2 via synaptic or apt-get (package: apache2). 2. Create the following folders (change the location to your liking) and copy your website files to the &#8220;root&#8221; folder: 3. Create new site configuration file (e.g. &#8220;website1&#8243;) in /etc/apache2/sites-available/ with the following contents: [...]]]></description>
			<content:encoded><![CDATA[<p>To set up multiple local websites on Apache, follow this process.</p>
<ul>
<li>1. Install Apache 2 via synaptic or apt-get (package: apache2).</li>
<li>2. Create the following folders (change the location to your liking) and copy your website files to the &#8220;root&#8221; folder:</li>
</ul>
<div>
<pre class="brush: plain; title: ; notranslate">/home/user/www/website1/
/home/user/www/website1/root/
/home/user/www/website1/logs/</pre>
</div>
<ul>
<li>3. Create new site configuration file (e.g. &#8220;website1&#8243;) in /etc/apache2/sites-available/ with the following contents:</li>
</ul>
<div>
<pre class="brush: plain; title: ; notranslate">&lt;VirtualHost *:80&gt;
    ServerAdmin website1@localhost
    ServerName website1.dev
    DocumentRoot &quot;/home/user/www/website1/root/&quot;
    ErrorLog /home/user/www/website1/logs/error.log
    CustomLog /home/user/www/website1/logs/access.log combined
&lt;/VirtualHost&gt;</pre>
</div>
<ul>
<li>4. Add the following line to your /etc/hosts file:</li>
</ul>
<div>
<pre class="brush: plain; title: ; notranslate">127.0.0.1    website1.dev</pre>
</div>
<ul>
<li>5. Set permissions so that Apache can access the website by running the following on the command line:</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">sudo chgrp -R www-data /home/user/www/website1/
sudo chmod -R g+w /home/user/www/website1/</pre>
</div>
<ul>
<li>6. Enable the new website by running the following on the command line:</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">sudo a2ensite website1</pre>
</div>
<ul>
<li>7. Restart Apache by running the following on the command line:</li>
</ul>
<div>
<pre class="brush: bash; title: ; notranslate">sudo /etc/init.d/apache2 restart</pre>
<ul>
<li>8. Now visit http://website1.dev in your browser to see the website.</li>
</ul>
</div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/devignblog?a=3bO8Bumpd6Q:xrlc3Xy3ymc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/devignblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=3bO8Bumpd6Q:xrlc3Xy3ymc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/devignblog?i=3bO8Bumpd6Q:xrlc3Xy3ymc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=3bO8Bumpd6Q:xrlc3Xy3ymc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/devignblog?i=3bO8Bumpd6Q:xrlc3Xy3ymc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=3bO8Bumpd6Q:xrlc3Xy3ymc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/devignblog?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/devignblog/~4/3bO8Bumpd6Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.devigninnovation.com/2011/08/08/setting-up-multiple-localhost-websites-on-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.devigninnovation.com/2011/08/08/setting-up-multiple-localhost-websites-on-apache/</feedburner:origLink></item>
		<item>
		<title>Resources to help you become a Django pro</title>
		<link>http://feedproxy.google.com/~r/devignblog/~3/CAaLm4MuDMc/</link>
		<comments>http://www.devigninnovation.com/2010/08/23/resources-to-help-you-become-a-django-pro/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 17:53:00 +0000</pubDate>
		<dc:creator>Helmut</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://www.devigninnovation.com/?p=14</guid>
		<description><![CDATA[I&#8217;ve been leanring Django in my spare time, and have collected some helpful resources along the way. Here are the most useful ones: Code Official Django Documentation: This is where it all starts. Here you will find all the awesome features Django offers. Sometimes the code examples could be slightly better, but we can go [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-16" style="border: 0px initial initial;" title="django logo" src="http://www.devigninnovation.com/wp-content/uploads/2010/08/django-logo-300x136.png" alt="django logo" width="240" height="109" />I&#8217;ve been leanring Django in my spare time, and have collected some helpful resources along the way. Here are the most useful ones:</p>
<h3>Code</h3>
<ul>
<li><a title="Official Django Documentation" href="http://docs.djangoproject.com/en/dev/" target="_blank">Official Django Documentation</a>: This is where it all starts. Here you will find all the awesome features Django offers. Sometimes the code examples could be slightly better, but we can go to other places for that.</li>
<li><a title="Python Documentation" href="http://docs.python.org/" target="_blank">Official Python Documentation</a>: If you don&#8217;t know Python yet, you will need to learn it too, since Django is based on Python. But don&#8217;t worry, Python is awesome! (link thanks to Dougal Matthews)</li>
<li><a title="Django Snippets" href="http://djangosnippets.org/" target="_blank">Django Snippets</a>: If you need a solution for a specific problem, odds are someone has posted a code snippet for exactly that scenario.</li>
<li><a title="Django Packages" href="http://djangopackages.com/" target="_blank">Django Packages</a>: Apps and tools for your Django website (thanks to Kyl1 for the link)</li>
<li><a title="South" href="http://south.aeracode.org/" target="_blank">South</a>: Django migrations made easy</li>
<li><a title="Pinax" href="http://pinaxproject.com/" target="_blank">Pinax</a>: A collection of Django apps that extend Django to provide you with virtually any functionality you need.</li>
<li><a title="StackOverflow" href="http://stackoverflow.com/" target="_blank">StackOverflow</a>: This site isn&#8217;t Django-specific, but if you have an issue in Django that you can&#8217;t solve, there are some very friendly Django coders who will try to help you.</li>
</ul>
<h3>Blogs</h3>
<ul>
<li><a title="Django Reddit" href="http://www.reddit.com/r/django" target="_blank">Django Reddit</a>: The latest and greatest in the world of Django</li>
<li><a title="Gigantuan" href="http://gigantuan.net/" target="_blank">Gigantuan</a>: The personal blog of Kenneth Love</li>
<li><a title="AeraCode" href="http://www.aeracode.org/" target="_blank">AraeCode</a>: The blog of Andrew Godwin</li>
<li><a title="Alex Gaynor" href="http://alexgaynor.net/" target="_blank">Alex Gaynor&#8217;s Blago-blog</a>: All about Django and Python</li>
<li><a title="Django Dose" href="http://djangodose.com/" target="_blank">Django Dose</a>: Articles, screencasts, and podcasts about Django</li>
<li><a title="Django Advent" href="http://djangoadvent.com/" target="_blank">Django Advent</a>: A collection of excellent articles by noted Django community members</li>
</ul>
<h3>Books</h3>
<ul>
<li><a title="The Definitive Guide to Django" href="http://www.amazon.com/gp/product/143021936X?ie=UTF8&amp;tag=deviginnov-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=143021936X" target="_blank">The Definitive Guide to Django: Web Development Done Right, Second Edition</a></li>
<li><a title="Practical Django Projects" href="http://www.amazon.com/gp/product/1430219386?ie=UTF8&amp;tag=deviginnov-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1430219386" target="_blank">Practical Django Projects, Second Edition</a></li>
</ul>
<h3>Inspiration</h3>
<ul>
<li><a title="Django Community" href="http://www.djangoproject.com/community/" target="_blank">Django Community</a>: a number of resources in the Django community</li>
<li><a title="DjangoSites" href="http://www.djangosites.org/" target="_blank">DjangoSites</a>: Browse a large database of Django-powered sites</li>
<li><a title="DjangoPeople" href="http://djangopeople.net/" target="_blank">DjangoPeople</a>: Connect with other Django developers</li>
</ul>
<h3>Just for fun</h3>
<ul>
<li><a title="DjangoPony" href="http://djangopony.com/" target="_blank">DjangoPony</a>: The official Django mascot</li>
<li><a title="My Little Django" href="http://www.mylittledjango.com/" target="_blank">My Little Django</a>: Customize your own Django pony</li>
</ul>
<p>Well, that&#8217;s it. I hope these sites help you become a Django pro quickly. Enjoy!</p>
<p><img class="alignleft size-medium wp-image-17" title="django pony" src="http://www.devigninnovation.com/wp-content/uploads/2010/08/django-pony-300x230.png" alt="django pony" width="300" height="230" /></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/devignblog?a=CAaLm4MuDMc:A2Muky7Dusg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/devignblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=CAaLm4MuDMc:A2Muky7Dusg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/devignblog?i=CAaLm4MuDMc:A2Muky7Dusg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=CAaLm4MuDMc:A2Muky7Dusg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/devignblog?i=CAaLm4MuDMc:A2Muky7Dusg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=CAaLm4MuDMc:A2Muky7Dusg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/devignblog?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/devignblog/~4/CAaLm4MuDMc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.devigninnovation.com/2010/08/23/resources-to-help-you-become-a-django-pro/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://www.devigninnovation.com/2010/08/23/resources-to-help-you-become-a-django-pro/</feedburner:origLink></item>
		<item>
		<title>Welcome</title>
		<link>http://feedproxy.google.com/~r/devignblog/~3/DINVKKysKsE/</link>
		<comments>http://www.devigninnovation.com/2010/08/14/welcome/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 10:52:10 +0000</pubDate>
		<dc:creator>Helmut</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://thepossimpible.com/devign/?p=10</guid>
		<description><![CDATA[Welcome to the new DevignInnovation website. This space will serve as a launchpad for my explorations into programming, the web, and linux. In future you will find articles, downloads, and more. Hope to see you back here soon.]]></description>
			<content:encoded><![CDATA[<p>Welcome to the new DevignInnovation website. This space will serve as a launchpad for my explorations into programming, the web, and linux. In future you will find articles, downloads, and more.</p>
<p>Hope to see you back here soon.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/devignblog?a=DINVKKysKsE:5sBV28_DVaA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/devignblog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=DINVKKysKsE:5sBV28_DVaA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/devignblog?i=DINVKKysKsE:5sBV28_DVaA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=DINVKKysKsE:5sBV28_DVaA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/devignblog?i=DINVKKysKsE:5sBV28_DVaA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/devignblog?a=DINVKKysKsE:5sBV28_DVaA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/devignblog?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/devignblog/~4/DINVKKysKsE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.devigninnovation.com/2010/08/14/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.devigninnovation.com/2010/08/14/welcome/</feedburner:origLink></item>
	</channel>
</rss>

