Skip to content

zyshin/eslwriter

Repository files navigation

ESLWriter Project

Project home for ESLWriter (http://www.eslwriter.org)

Install prerequisite python packages

Using virtualenv is recommended. Create an fresh environment named env in the project's root folder.

(env) pip install -U -r requirements.txt

(Optional) Setup prerequisites for PDF parsing

Only needed if you want to run NLP process on your own computer to build personal corpora.

  • Install the latest Java runtime.
  • Add executable pdftotext contained in Xpdf tools to PATH.

Configure Django settings

Download settings_debug.py from team Slack and put it into eslwebsite/.

Note: You should NEVER commit settings_debug.py or settings.py to Github as they contain extreme sensitive data like passwords.

Syncdb

python manage_debug.py migrate

(Optional) Django's translation framework for multilingual interface

Install gettext toolset and add gettext/bin/ to PATH

Then compile the translation files for use:

python manage_debug.py makemessages

Run server in DEBUG mode

python manage_debug.py runserver

Then have fun searching!

Run in deploy mode (Not needed during developing)

The same as in DEBUG mode, except that use settings.py instead of settings_debug.py and run python manage.py runserver

About

Main project base of ESLWriter

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5