Skip to content
DanHampl edited this page Dec 29, 2018 · 5 revisions

Setting up server is quite simple. You'll need sqlite3 or postgresql database, also you'll it is recommended to use web server as proxy. For user configuration use environment variable EVODOC_CONFIG_FILE, this specifies where user configuration is located. Use full path just to be sure. Configuration format is classic .cfg file for Flask (ie. FLASK_ENV=...).

Debian server setup

Flask server setup

pick one

Database setup

setup sqlite3 or postgresql
After that modify EVODOC_CONFIG_FILE to match your database. It is recommended to use an absolute path.

Installing pandoc and texlive

You will need pandoc and texlive installed for building .pdf documents.
sudo install pandoc texlive

Setting up proxy

You can setup nginx or use flask itself for opening a public port.

Clone this wiki locally