<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: Firebrigade Home Page Fixed</title>
    <link>http://blog.segment7.net/articles/2007/09/17/firebrigade-home-page-fixed</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>Firebrigade Home Page Fixed</title>
      <description>&lt;p&gt;I denormalized a bit and beat the tests back into shape and the &lt;a href="http://firebrigade.seattlerb.org"&gt;Firebrigade&lt;/a&gt; home page is back to life!  Next I&amp;#8217;m going to sand down a few rough edges on RubyGems to get a beta shipped suitable for feedback.&lt;/p&gt;


	&lt;p&gt;Firebrigade is now fully &lt;a href="http://rubyhitsquad.com/Vlad_the_Deployer.html"&gt;vlad&lt;/a&gt;ified using perforce.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s the two setup steps you need for perforce:&lt;/p&gt;


&lt;ol&gt;
&lt;li&gt;Require &amp;#8216;vlad/perforce&amp;#8217; at the top of config/deploy.rb.
&lt;li&gt;Your .p4config goes in the scm/ directory of the server&amp;#8217;s checkout.
&lt;li&gt;Run p4 client in the scm/ directory and set your View to &lt;samp&gt;//path/to/project/... //clientname/...&lt;/samp&gt;
&lt;/ol&gt;

	&lt;p&gt;Hopefully we can fully automate this so the &lt;kbd&gt;vlad:setup_app&lt;/kbd&gt; task can handle this automatically.&lt;/p&gt;


	&lt;p&gt;I also had to do some custom setup for firebrigade because it uses RubyInline and needs the &lt;span class="caps"&gt;INLINEDIR&lt;/span&gt; set.  I just added extra stuff to the setup_app task:&lt;/p&gt;


&lt;code&gt;namespace :vlad do
  remote_task :setup_app do
    cmds = [
      "mkdir #{inline_dir}",
      "sudo chown www:www #{inline_dir}",
    ]

    run cmds.join(' &amp;#38;&amp;#38; ')
  end
end&lt;/code&gt;

	&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; Automatic p4 setup is done!&lt;/p&gt;
</description>
      <pubDate>Mon, 17 Sep 2007 19:40:22 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:a7197d38-abc1-49c5-aaf5-565179fa9f9b</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2007/09/17/firebrigade-home-page-fixed</link>
      <category>Seattle.rb</category>
      <category>Testing</category>
    </item>
    <item>
      <title>"Firebrigade Home Page Fixed" by Bil Kleb</title>
      <description>&lt;p&gt;Wonderful news; thank you for stoking the testing fire of this community.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Sep 2007 03:31:41 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:1859576b-45c3-4d72-8d6f-080c76712860</guid>
      <link>http://blog.segment7.net/articles/2007/09/17/firebrigade-home-page-fixed#comment-764</link>
    </item>
  </channel>
</rss>
