<?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>Enrique Delgado Monroy: Tag deployment</title>
    <link>http://www.enriquedelgado.com/articles/tag/deployment</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Work, Life, Stuff</description>
    <item>
      <title>SliceHost + Deprec Plug-in</title>
      <description>&lt;p&gt;I&amp;#8217;ve recently purchased a slice at &lt;a href="http://www.slicehost.com"&gt;SliceHost&lt;/a&gt; and started to use the Deprec plug-in for Rails for my apps.&lt;/p&gt;


	&lt;p&gt;Thanks to the awesome Top Funky free &lt;a href="http://peepcode.com/"&gt;peepcode screencast&lt;/a&gt; I was able to start deploying applications (including the entire Rails stack) quickly and in a predictable manner.&lt;/p&gt;


	&lt;p&gt;Check out the &lt;a href="http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov"&gt;screencast&lt;/a&gt;  for details, but this is my basic recipe to setup a new application. These steps will create a sample rails application, setup apache, mongrel, and deploy (with migrations!):&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;&lt;code&gt;rails mykillerapp&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;deprec --apply-to .&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;Edit your &lt;code&gt;config/deploy.rb&lt;/code&gt; file.&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;cap deprec_setup&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;cap setup_scm&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;cap deploy_with migrations&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;cap restart_apache&lt;/code&gt;&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;And you are done! Subsequent releases are even easier:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;&lt;code&gt;cap deploy_with_migrations&lt;/code&gt;&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Pretty good eh?&lt;/p&gt;</description>
      <pubDate>Tue, 01 May 2007 10:00:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:545c47d9-cfb4-4791-99f6-bffa7dbd6293</guid>
      <author>Enrique Delgado</author>
      <link>http://www.enriquedelgado.com/articles/2007/05/01/slicehost-deprec-plug-in</link>
      <category>Rails</category>
      <category>rails</category>
      <category>plugins</category>
      <category>capistrano</category>
      <category>deployment</category>
      <category>deprec</category>
    </item>
  </channel>
</rss>
