https://github.com/mfa/webbib
Bibliography website for bibtex data using Flask and pybtex
https://github.com/mfa/webbib
Last synced: about 1 year ago
JSON representation
Bibliography website for bibtex data using Flask and pybtex
- Host: GitHub
- URL: https://github.com/mfa/webbib
- Owner: mfa
- License: other
- Created: 2012-11-28T16:10:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-12T17:01:28.000Z (over 13 years ago)
- Last Synced: 2025-04-01T21:49:13.402Z (about 1 year ago)
- Language: Python
- Size: 148 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.rst
- License: LICENSE
Awesome Lists containing this project
README
========
WebBib
========
Introduction
============
The WebBib was written as replacement for an old Tomcat based webservice.
The original version read an xml file gerated by bib2xml.
After some problems with the convertion we started to use pybtex for reading
the original bibtex files.
The staff.xml files stayed the same.
For development see https://github.com/mfa/webbib/
In production: http://www.ims.uni-stuttgart.de/bibliographie/
Install
=======
* system requirements (RHEL)
::
yum install libxml2-devel libxslt-devel libyaml-devel
* install:
::
virtualenv --distribute env_webbib
. env_webbib/bin/activate
pip install -r requirements.txt
# install webbib
python setup.py install
* run (testing):
::
. env_webbib/bin/activate
# run example
cd example
webbib-cli
* translations:
::
pybabel extract -F babel.cfg -o messages.pot .
pybabel update -i messages.pot -d translations
pybabel compile -d translations
# INIT (new languages)
pybabel init -i messages.pot -d translations -l de
Tipps
=====
* with mod_wsgi add *home* to your ``WSGIDaemonProcess``:
::
WSGIDaemonProcess webbib display-name=wsgi-webbib home=/path-to-your-checkout/webbib/example