On Fri, Mar 09, 2007 at 12:30:26PM +0000, Michael Foord wrote:
> Eur Ing Chris Green wrote:
> > Apart from the obvious putting r2w.py in my PATH that is.
> >
> > If I want to maintain more than one set of web pages (call it a
> > 'project') using rest2web what do I need to do to make it available
> > from anywhere?
> >
> > Obviously each set of web pages will have a home directory of some
> > sort which will have the r2w.ini file in it, this can then tell r2w.py
> > where to find all the project specific stuff.
> >
> > So what else from the unpacked rest2web-0.5.1.tar.gz do I need to put
> > somewhere so that it can be found?
> >
> > I have put r2w.py in a directory on my PATH.
> > I have put the rest2web sub-directory in my Python site-packages
> > What about macros.py and macros.pyc, do I need copy these anywhere?
> >
> >
> Well... :-)
>
> If you have r2w.py on your path then you're pretty much there. rest2web
> now has the default macros built in (thanks to some inspiration from
> Martin), so you *only* need to use the 'macros.py' file if you are
> implementing your own macros.
>
> In this case you specify the path to the macros file in your site config
> file.
>
OK, thanks. I have written myself one macro, so need the macros.py
path in the .ini file, very simple!
--
Chris Green
|