<div class="gmail_quote">On Wed, Mar 2, 2011 at 5:35 PM, will trillich <span dir="ltr">&lt;<a href="mailto:will.trillich@serensoft.com">will.trillich@serensoft.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Here&#39;s our current dev-to-deploy approach -- we use mercurial and a three-step staging process:<div><br></div><div>A) sandbox/dev server:</div><div><br></div><div>dev-server$ vi lib/*/blah/yadda</div><div>dev-server$ CATALYST_DEBUG=1 script/*_<a href="http://server.pl" target="_blank">server.pl</a></div>

<div><br></div><div>test dev-server:3000 plenty -- lots of iterating, and then prep for deploy-testing:</div><div><br></div><div>dev-server$ hg addremove</div><div>dev-server$ perl Makefile.PL</div><div>dev-server$ make manifest</div>

<div>dev-server$ hg ci -m &quot;log message here&quot;</div><div><br></div><div>now, on deployment server:</div><div><br></div><div>B) live environment, sandbox port 3000:</div><div><br></div><div>deploy$ hg fetch</div><div>

deploy$ <font class="Apple-style-span" color="#999999">CATALYST_DEBUG=0 script/*_<a href="http://server.pl">server.pl</a></font></div></blockquote><div> </div><div>Quick edit, that last command above is actually</div><div>
deploy$ <b>CATALYST_DEBUG=0 sudo -u www-data perl script/*_<a href="http://server.pl">server.pl</a></b></div><div>to make sure we&#39;re using the standard webserver user-permissions</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div></div><div>now we test deploy:3000 and if all is well...</div><div><br></div><div>C) full &quot;live&quot; deployment:</div><div><br>
</div><div>deploy$ perl Makefile.PL &amp;&amp; make</div><div>deploy$ sudo make install &amp;&amp; sudo apache2ctl graceful</div><div><br></div><div>Pretty sweet so far!</div><div><br></div><div><br><div class="gmail_quote">
<div class="im">
On Wed, Mar 2, 2011 at 5:24 PM, Tomas Doran <span dir="ltr">&lt;<a href="mailto:bobtfish@bobtfish.net" target="_blank">bobtfish@bobtfish.net</a>&gt;</span> wrote:<br></div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br>
On 2 Mar 2011, at 05:43, John M. Dlugosz wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 3/1/2011 9:58 AM, Bill Moseley <a href="http://moseley-at-hank.org" target="_blank">moseley-at-hank.org</a> |Catalyst/Allow to home| wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At build time I minimize and compress css and js (and images) and combine<br>
into single files grouped by page(s).  They could be pre-processed by TT<br>
very easily.  The final file names include an MD5 of their content forcing a<br>
re-fetch only if they ever change.<br>
</blockquote>
So you added that to the makefile somehow?  I take it the generated name must be supplied to the page&#39;s template once it is known.  I&#39;d like to learn more about your system.<br>
</blockquote>
<br></div>
Yes, you can append things to the Makefile to<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So if you make a small change, you have to re-install the whole app?  If the file name changes, I can&#39;t just use Unison to sync the directory on the production server.<br>
</blockquote>
<br></div>
Yes!<br>
<br>
Installing to production servers via rsync / unison is insane, as there is exactly no way of knowing what version the production server is on, with what bugs... Which means that all bug reports become useless - as you never know if the user was using the site before or after you fixed (or, more often, you think you fixed, but didn&#39;t really fix a bug)..<br>


<br>
Cheers<br>
t0m<div><div></div><div><br>
<br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><div class="im"><br>-- <br>The first step towards getting somewhere is to decide that you are not going to stay where you are.  -- J.P.Morgan<br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>The first step towards getting somewhere is to decide that you are not going to stay where you are.  -- J.P.Morgan<br>