<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,10 @@
 class DashboardController &lt; ApplicationController
   
+  def index
+    extended
+    render :action =&gt; 'extended'
+  end
+
   def extended
     @projects = Project.find(:all)
     </diff>
      <filename>app/controllers/dashboard_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ class UtilityController &lt; ApplicationController
   # query the shell to get the hostname for this computer
   def hostname
     begin
-      hostname = `hostname`
+      hostname = `hostname`.chomp
       render :text =&gt; hostname
     rescue
       render :text =&gt; 'unknown'
@@ -20,7 +20,14 @@ class UtilityController &lt; ApplicationController
   
   # start a project
   def start_project
-    
+    project = Project.find(params[:id])
+    begin
+      output = `#{project.rails_root}/script/server -p #{project.port} -d`   #TODO: Add environment to this call, should come from params[:environment]
+    rescue
+      set_status(project,State::ERROR)
+    end
+    get_status
+    render :action =&gt; 'get_status'
   end
   
   # stop a project</diff>
      <filename>app/controllers/utility_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@
     &lt;ul id=&quot;tabs&quot;&gt;
       &lt;li &lt;%= class_if_current :active, params, :controller =&gt; 'dashboard', :action =&gt; 'compact' %&gt;&gt;&lt;%= link_to_unless_current 'Compact', :controller =&gt; 'dashboard', :action =&gt; 'compact' %&gt;&lt;/li&gt;
       &lt;li &lt;%= class_if_current :active, params, :controller =&gt; 'dashboard', :action =&gt; 'extended' %&gt;&gt;&lt;%= link_to_unless_current 'Extended', :controller =&gt; 'dashboard', :action =&gt; 'extended' %&gt;&lt;/li&gt;
-      &lt;li &lt;%= class_if_current :active, params, :controller =&gt; 'settings', :action =&gt; 'index' %&gt;&gt;&lt;%= link_to_unless_current 'Settings', :controller =&gt; 'settings' %&gt;&lt;/li&gt;
+      &lt;li &lt;%= class_if_current :active, params, :controller =&gt; 'settings', :action =&gt; 'index' %&gt;&gt;&lt;%= link_to_unless_current 'Settings', settings_path %&gt;&lt;/li&gt;
     &lt;/ul&gt;
   &lt;/div&gt;
   </diff>
      <filename>app/views/layouts/application.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -23,13 +23,13 @@ ActionController::Routing::Routes.draw do |map|
   #     # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
   #     admin.resources :products
   #   end
-  map.dashboard '/dashboard', :controller =&gt; 'dashboard', :action =&gt; 'extended'
+  map.dashboard '/dashboard', :controller =&gt; 'dashboard'
 
   map.settings '/settings', :controller =&gt; 'settings'
 
   # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
   # map.root :controller =&gt; &quot;welcome&quot;
-  map.root :controller =&gt; 'dashboard', :action =&gt; 'extended'
+  map.root :controller =&gt; 'dashboard'
 
   # See how all your routes lay out with &quot;rake routes&quot;
 </diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>db/development.sqlite3</filename>
    </modified>
    <modified>
      <diff>@@ -1235,4 +1235,134 @@ Exiting
 	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:139:in `listener'
 	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:99:in `cloaker_'
 	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `call'
-	from /usr/lib/ruby/gems/1.8/gems
\ No newline at end of file
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `initialize'
+	 ... 14 levels...
+	from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
+	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
+	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
+	from script/server:3
+*]0;rob@ui: /var/www/active_classified*rob@ui:/var/www/active_classified$ script/server
+=&gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)
+=&gt; Rails application starting on http://0.0.0.0:3000
+=&gt; Call with -d to detach
+=&gt; Ctrl-C to shutdown server
+** Starting Mongrel listening at 0.0.0.0:3000
+Exiting
+/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/tcphack.rb:12:in `initialize_without_backlog': Address already in use - bind(2) (Errno::EADDRINUSE)
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/tcphack.rb:12:in `initialize'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:93:in `new'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:93:in `initialize'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:139:in `new'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:139:in `listener'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:99:in `cloaker_'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `call'
+	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:50:in `initialize'
+	 ... 14 levels...
+	from /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
+	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
+	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
+	from script/server:3
+*]0;rob@ui: /var/www/active_classified*rob@ui:/var/www/active_classified$ script/server*************ps aux | grep ruby.*3001*************************[11Pscript/server -p 3002
+=&gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)
+=&gt; Rails application starting on http://0.0.0.0:3002
+=&gt; Call with -d to detach
+=&gt; Ctrl-C to shutdown server
+** Starting Mongrel listening at 0.0.0.0:3002
+** Starting Rails with development environment...
+** Rails loaded.
+** Loading any Rails specific GemPlugins
+** Signals ready.  TERM =&gt; stop.  USR2 =&gt; restart.  INT =&gt; stop (no restart).
+** Rails signals registered.  HUP =&gt; reload (without restart).  It might not work well.
+** Mongrel 1.1.3 available at 0.0.0.0:3002
+** Use CTRL-C to stop.
+** INT signal received.
+Exiting
+*]0;rob@ui: /var/www/active_classified*rob@ui:/var/www/active_classified$ script/server -p 3002
+=&gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)
+=&gt; Rails application starting on http://0.0.0.0:3002
+=&gt; Call with -d to detach
+=&gt; Ctrl-C to shutdown server
+** Starting Mongrel listening at 0.0.0.0:3002
+** Starting Rails with development environment...
+** Rails loaded.
+** Loading any Rails specific GemPlugins
+** Signals ready.  TERM =&gt; stop.  USR2 =&gt; restart.  INT =&gt; stop (no restart).
+** Rails signals registered.  HUP =&gt; reload (without restart).  It might not work well.
+** Mongrel 1.1.3 available at 0.0.0.0:3002
+** Use CTRL-C to stop.
+** INT signal received.
+Exiting
+*]0;rob@ui: /var/www/active_classified*rob@ui:/var/www/active_classified$ git **[K**[K**[K**[K***cd .. **[K/alfred/
+*]0;rob@ui: /var/www/alfred*rob@ui:/var/www/alfred$ git all**[K**[Kdd .
+*]0;rob@ui: /var/www/alfred*rob@ui:/var/www/alfred$ git status
+# On branch master
+# Changes to be committed:
+#   (use &quot;git reset HEAD &lt;file&gt;...&quot; to unstage)
+#
+#	modified:   app/controllers/application.rb
+#	modified:   app/controllers/dashboard_controller.rb
+#	modified:   app/controllers/utility_controller.rb
+#	new file:   app/views/dashboard/_extended_project.html.erb
+#	modified:   app/views/dashboard/extended.html.erb
+#	new file:   app/views/utility/get_status.html.erb
+#	modified:   db/development.sqlite3
+#	modified:   generate
+#
+# Changed but not updated:
+#   (use &quot;git add/rm &lt;file&gt;...&quot; to update what will be committed)
+#
+#	modified:   log/mongrel.log
+#	deleted:    tmp/pids/mongrel.pid
+#
+*]0;rob@ui: /var/www/alfred*rob@ui:/var/www/alfred$ git commit -m 'Status for poejc**[K**[K**[K**[Krojects updaing on sta**[K**[K**[K**[K**[K**[K**[K**[K**[K**[K**[Kating on start**[K**[K**[K**[K**[K/dashboard display, started remote t**[Kstatus update'
+Created commit 2f5f3fb: Status for projects updating on /dashboard display, started remote status update
+ 8 files changed, 813 insertions(+), 45 deletions(-)
+ create mode 100644 app/views/dashboard/_extended_project.html.erb
+ create mode 100644 app/views/utility/get_status.html.erb
+*]0;rob@ui: /var/www/alfred*rob@ui:/var/www/alfred$ git push
+Enter passphrase for key '/home/rob/.ssh/id_rsa': 
+updating 'refs/heads/master'
+  from 69f791768efc6886fc10ca3a0c69dccd5d924b47
+  to   2f5f3fb4e585ff9c7ac3c5f2b9cbf25dd8ba198d
+ Also local refs/remotes/origin/master
+Generating pack...
+Done counting 16 objects.
+Deltifying 16 objects...
+   6% (1/16) done  12% (2/16) done  18% (3/16) done  25% (4/16) done  31% (5/16) done  37% (6/16) done  43% (7/16) done  50% (8/16) done  56% (9/16) done  62% (10/16) done  68% (11/16) done  75% (12/16) done  81% (13/16) done  87% (14/16) done  93% (15/16) done 100% (16/16) done
+Writing 16 objects...
+   6% (1/16) done  12% (2/16) done  18% (3/16) done  25% (4/16) done  31% (5/16) done  37% (6/16) done  43% (7/16) done  50% (8/16) done  56% (9/16) done  62% (10/16) done  68% (11/16) done  75% (12/16) done  81% (13/16) done  87% (14/16) done  93% (15/16) done 100% (16/16) done
+Total 16 (delta 0), reused 0 (delta 0)
+refs/heads/master: 69f791768efc6886fc10ca3a0c69dccd5d924b47 -&gt; 2f5f3fb4e585ff9c7ac3c5f2b9cbf25dd8ba198d
+*]0;rob@ui: /var/www/alfred*rob@ui:/var/www/alfred$ git pull
+Enter passphrase for key '/home/rob/.ssh/id_rsa': 
+Enter passphrase for key '/home/rob/.ssh/id_rsa': 
+remote: Generating pack...
+remote: Done counting 45 objects.
+remote: Result has 23 objects.
+remote: Deltifying 23 objects...
+remote:    0% (0/23) doneremote:    4% (1/23) doneremote:    8% (2/23) doneremote:   13% (3/23) doneremote:   17% (4/23) doneremote:   21% (5/23) doneremote:   26% (6/23) doneremote:   30% (7/23) doneremote:   34% (8/23) doneremote:   39% (9/23) doneremote:   43% (10/23) doneremote:   47% (11/23) doneremote:   52% (12/23) doneremote:   56% (13/23) doneremote:   60% (14/23) doneremote:   65% (15/23) doneremote:   69% (16/23) doneremote:   73% (17/23) doneremote:   78% (18/23) doneremote:   82% (19/23) doneremote:   86% (20/23) doneremote:   91% (21/23) doneremote:   95% (22/23) doneremote:  100% (23/23) doneremote: 
+remote: Total 23 (delta 14), reused 0 (delta 0)
+Unpacking 23 objects...
+   4% (1/23) done   8% (2/23) done  13% (3/23) done  17% (4/23) done  21% (5/23) done  26% (6/23) done  30% (7/23) done  34% (8/23) done  39% (9/23) done  43% (10/23) done  47% (11/23) done  52% (12/23) done  56% (13/23) done  60% (14/23) done  65% (15/23) done  69% (16/23) done  73% (17/23) done  78% (18/23) done  82% (19/23) done  86% (20/23) done  91% (21/23) done  95% (22/23) done 100% (23/23) done
+* refs/remotes/origin/master: fast forward to branch 'master' of git@github.com:cannikin/alfred
+  old..new: 2f5f3fb..eef0be0
+warning: unable to read /etc/mailname: No such file or directory
+
+You asked me to pull without telling me which branch you
+want to merge with, and 'branch.master.merge' in
+your configuration file does not tell me either.  Please
+name which branch you want to merge on the command line and
+try again (e.g. 'git pull &lt;repository&gt; &lt;refspec&gt;').
+See git-pull(1) for details on the refspec.
+
+If you often merge with the same branch, you may want to
+configure the following variables in your configuration
+file:
+
+    branch.master.remote = &lt;nickname&gt;
+    branch.master.merge = &lt;remote-ref&gt;
+    remote.&lt;nickname&gt;.url = &lt;url&gt;
+    remote.&lt;nickname&gt;.fetch = &lt;refspec&gt;
+
+See git-config(1) for details.
+*]0;rob@ui: /var/www/alfred*rob@ui:/v
\ No newline at end of file</diff>
      <filename>generate</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-9913
\ No newline at end of file
+6002
\ No newline at end of file</diff>
      <filename>tmp/pids/mongrel.pid</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eef0be03bfb4c565fdc82652d3e814e0160a552a</id>
    </parent>
  </parents>
  <author>
    <name>Rob Cameron</name>
    <email>cannikinn@gmail.com</email>
  </author>
  <url>http://github.com/cannikin/alfred/commit/2ea096d2ae1b3dac5cfc1eec9a04ff28c46fbe9d</url>
  <id>2ea096d2ae1b3dac5cfc1eec9a04ff28c46fbe9d</id>
  <committed-date>2008-03-21T22:38:39-07:00</committed-date>
  <authored-date>2008-03-21T22:38:39-07:00</authored-date>
  <message>Changes from work</message>
  <tree>5bb00d911b467e072ef22f0077d5aa2cb2a4aef4</tree>
  <committer>
    <name>Rob Cameron</name>
    <email>cannikinn@gmail.com</email>
  </committer>
</commit>
