<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>digitalself &#187; howto</title>
	<atom:link href="http://www.digitalself.org/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalself.org</link>
	<description>Realization of self in a digital world</description>
	<lastBuildDate>Mon, 10 Oct 2011 22:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto Tracks GTD on Ubuntu Hardy</title>
		<link>http://www.digitalself.org/2008/08/04/howto-tracks-gtd-on-ubuntu-hardy/</link>
		<comments>http://www.digitalself.org/2008/08/04/howto-tracks-gtd-on-ubuntu-hardy/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 00:38:37 +0000</pubDate>
		<dc:creator>alfmatos</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.digitalself.org/?p=101</guid>
		<description><![CDATA[As I (re)evaluate my GTD workflow, I&#8217;ve been testing a couple of applications that may help me increase my productivity while becoming a distraction or burden to manage. The next one on my list is Tracks. I decided to put forward a quick howto because it might not be that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rousette.org.uk/projects/"><img class="alignright" src="http://www.rousette.org.uk/projects/themes/site_themes/butterfly/tracks-logo-dark.png" alt="" width="301" height="148" /></a>As I (re)evaluate my GTD workflow, I&#8217;ve been testing a couple of applications that may help me increase my productivity while becoming a distraction or burden to manage. The next one on my list is <a href="http://www.rousette.org.uk/projects/">Tracks</a>. I decided to put forward a quick howto because it might not be that trivial for some users to git this running with <a href="http://www.rubyonrails.org/">Ruby on Rails</a>.</p>
<p>So tracks going on your Ubunty Hardy you just need to install a few packages, most importantly ruby, ruby gems and sqlite 3 support. Then you just need to enable the sqlite3 gem for Ruby on Rails. Copy paste commands below:</p>
<pre>sudo apt-get install rake rubygems libsqlite3-ruby
sudo gem install sqlite3-ruby</pre>
<p>Then just follow the <a href="http://www.rousette.org.uk/projects/manual/index#config_install">instructions on the tracks website</a>. But, if your are lazy as me you can just copy paste the information below, which is a nice quick cheat sheet:</p>
<p><a href="http://www.rousette.org.uk/projects/files/tracks-current.zip">Get tracks</a>, unzip into a folder. Go into that folder and edit the configuration file, making it look like the example shown here for sqlite3:</p>
<pre>gedit config/database.yml</pre>
<pre>development:
adapter: sqlite3
database: db/tracks-dev.db

test:
adapter: sqlite3
database: ":memory:"

production:
adapter: sqlite3
database: db/tracks-main.db</pre>
<p>Change a variable in <em>config/environment.rb</em> by putting whatever in it:</p>
<pre>gedit config/environment.rb</pre>
<pre>SALT = "MakeThisYourRandomPhraseToGenerateSalt"</pre>
<p>Build it:</p>
<pre>rake db:migrate RAILS_ENV=production</pre>
<p>Run it:</p>
<pre>./script/server -e production</pre>
<p>And that&#8217;s it, you should just be able to point your browser at http://localhost:3000 and give it a try. I personally don&#8217;t think that Tracks is my cup of tee, but it&#8217;s worth a shot.</p>
<p>One a side note, this is probably my last post before my summer break, so I&#8217;ll be back in a couple of weeks, I hope.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalself.org/2008/08/04/howto-tracks-gtd-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Development &#8211; Improved Ubuntu Workflow</title>
		<link>http://www.digitalself.org/2008/05/04/web-development-improved-ubuntu-workflow/</link>
		<comments>http://www.digitalself.org/2008/05/04/web-development-improved-ubuntu-workflow/#comments</comments>
		<pubDate>Sun, 04 May 2008 15:37:14 +0000</pubDate>
		<dc:creator>alfmatos</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://www.digitalself.org/?p=70</guid>
		<description><![CDATA[Following my previous post on Web Development Workflow, I decided to be done with my procrastination and setup a local workflow, which keeps me location independent and autonomous. The work flow is simple: Develop and test locally, deploy remotely. I&#8217;m currently applying this towards the development of an improved theme [...]]]></description>
			<content:encoded><![CDATA[<p>Following my previous post on <a href="http://www.digitalself.org/2008/04/21/web-development-workflow/">Web Development Workflow</a>, I decided to be done with my procrastination and setup a local workflow, which keeps me location independent and autonomous.</p>
<p>The work flow is simple: Develop and test locally, deploy remotely. I&#8217;m currently applying this towards the development of an improved theme for my blog, which is basically this one, plus minor adjustments.</p>
<p>My setup is an Apache 2 webserver, with PHP and mySQL. On top of this I enable user dirs for the webserver, and deploy a local wordpress, which in fact runs a backup database from my production site.</p>
<p>First , install apache2,php and mysql support:</p>
<pre>sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server</pre>
<p>Now enable user directories support (things like <em>localhost/~jonhdoe</em> which actually live in <em>/home/johndoe/public_html</em>) and create the public_html folder:</p>
<pre>sudo a2enmod userdir
mkdir $HOME/public_html</pre>
<p>Another twist, since this is my main workstation and I don&#8217;t want an apache+mysql setup running all the time, is to remove all of the startup scripts from the default boot runlevels:</p>
<pre>sudo update-rc.d -f mysql remove
sudo update-rc.d -f apache2 remove</pre>
<p>I then run a script to start my environment when I want to code some web bits:</p>
<pre>#!/bin/bash

/etc/init.d/apache2 start
/etc/init.d/mysql start</pre>
<p>Don&#8217;t forget to make the script executable:</p>
<pre>chmod +x bin/start-web-dev.sh</pre>
<p>After all this I just installing web apps locally. In my case I just install <a href="http://www.wordpress.org">WordPress</a> by uncompressing it into <em>public_html</em>, creating a DataBase using phpmyadmin, and running the install. After that I went to my production wordpress exported the DB, and imported it on the local wordpress. And I&#8217;m done.</p>
<p>As a finally twist I created a git repository of my theme, so i just modify+commit+push, and pull on the main website. Since I can push only when I need or can, this setup is really working for me.</p>
<p>Any further enhancements are welcome, so feel free to drop some suggestions to improve on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalself.org/2008/05/04/web-development-improved-ubuntu-workflow/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

