Re: pyblosxom 1.4 released!
"Will Guaraldi" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
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. > 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. 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. 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 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. Does that help? If not, can you tell me what your directory tree under /var/www/htdocs/Pyblosxom looks like? /will ------------------------------------------------------------------------- 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/