An open API service indexing awesome lists of open source software.

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

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