Skip to content
/ webbib Public

Bibliography website for bibtex data using Flask and pybtex

License

Notifications You must be signed in to change notification settings

mfa/webbib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bibliography website for bibtex data using Flask and pybtex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages