[Fwd: Re: A fix and a problem]

Frederick Ros sl33p3r at free.fr
Tue Sep 5 15:39:42 EDT 2006


Paul van Tilburg wrote :
| I disagree.  I have my link set to http://paul.luon.net/journal/, but I
| try out/preview my journal on http://paul.somemachine.luon.net/journal/.
| With the permalinks going to http://paul.luon.net/journal/someEntry.html I
| can't test well if they are correct on my preview pages.

Hi Paul,

The solution I do use is the following: I test my blog locally (say in
/home/sleeper/blog/dev-null), and thus set the link to
/home/sleeper/blog/dev-null/htdocs 

However the 'production' version is located at
http://sl33p3r.free.fr/blog.
Thus I use replicate plugin, indicating both the target (where file are
uploaded), and the production_link:

requires: 
  - replicate:
      target: ftp://XXXXX:YYYYY@ftpperso.free.fr/blog/
      production_link: http://sl33p3r.free.fr/blog

This way, when I do regenerate for example, my blog by a 'hobix regen',
it will go in /home/sleeper/blog/dev-null/htdocs, but if I do have the
HOBIX_ENV variable set to production, it will use production_link
instead of link ... and thus my permalink will target my blog instead of
my local directory ...

-- 
Frederick Ros aka Sleeper -- sleeper at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20060905/5ec204f1/attachment.bin 


More information about the Hobix-is-the-way mailing list