Re: pyblosxom 1.4 released!
Chris G <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 05, 2007 at 05:20:28PM -0400, Will Guaraldi wrote: > On 7/5/07, Chris G <[email protected]> wrote: > > > > Hmmm!! :-) > > > > It doesn't really work the way my mind works! I expect to be able to > > untar Pyblosxom into a temporary directory somewhere and then install > > it 'from' there to the default place for web/http applications. Most > > other packages work this way (though I must admit that quite a few web > > applications don't). > > > > So, I've done it the 'right' way and have done:- > > > > cd /var/www/htdocs # default web app directory > > tar xzvf pyblosxom-1.4.tar.gz > > cd pyblosxom-1.4 > > python setup.py install > > Ok--if you're doing "python setup.py install", then that's installing > PyBlosxom as a Python library. If you do that, then you don't need to > set the "codebase" property. > > > > I suppose it does sort of make sense but it goes against the grain > > (well my grain anyway!). > > PyBlosxom is not a PHP application--so the setup is different from > what you'd do for a PHP application. > Yes, yes, OK. I meant "applications in general" not any specific sort of application. I just prefer for an installation process to ask me where I want to put files or to put them in a default location. E.g. if I install most non-web applications I can unpack the installation anywhere I like and when I run the install it either asks me where I want to put it or puts it in default locations. I know web apps tend to work a bit differently but I still find it awkward. I tend download things I want to install to a sub-directory in a scratch area that I have called /ins, I unpack them there and then expect to be able to install where I want (or to a default system destination). I can clear out /ins completely, or unmount it, or whatever without losing any working parts of my installation. It's more a "way to to it" philosophy type thing than anything else. > > > I meant only that I presumably need to copy the plugins directory from > > my old /var/www/htdocs/Pyblosxom to the new one. > > I'm puzzled by this statement and your question. I don't think I > really understand what you did to install PyBlosxom and set up your > blog. > Ah, I put the plugins directory into the pyblosxom installation, apart from anything else that makes it available to multiple users. > Here's what I do. I install PyBlosxom as a Python library. i.e. I > untar the pyblosxom.tar.gz file into a directory, then I do "python > setup.py install" as root. > Yes, OK, that's what I have done. > All of my blog data is in a directory tree off of my home directory: > > /home/willg/ > - blog/ > - entries/ - blog entries > - flavours/ - flavour templates > - plugins/ - all of the plugins I have > Where I differ is that I have put the plugins into the pyblosxom installation rather than in my home directory. That's why I asked if I had to move them. Since their location is specified in the config.py file I don't *have* to move them of course but maybe I should as I might remove the old pyblosxom. > Then I copy the pyblosxom.cgi and config.py files from the pyblosxom > web/ directory into my cgi-bin directory at > /home/willg/public_html/cgi-bin/ . > > Then I edit my config.py file setting the various directories and such. > > It sounds like you're keeping all of your blog data (entries, flavours > and plugins) along with the PyBlosxom code in the "Pyblosxom" > directory, but I can't tell for sure. I can't see exactly what you've > got set up, so I can't really tell you exact instructions on what you > need to do. > Yes, that's about what I'm doing. > Does that help? If not, can you tell me what your directory tree > under /var/www/htdocs/Pyblosxom looks like? > Yes, I think I'm there now, thanks for your help (and patience). -- Chris Green ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/