diff --git a/README.md b/README.md index 3b3bbf4..c6df08c 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,34 @@ original files on the server. Copy the `generated_files` folder to the server and from there run the script. +## Dependencies +- texlive-xetex +- python3-pypdf2 + ## Config file -The program requires a config file called `cred.cfg` that stores some -paths and the data for accessing the database. It should contain the -following fields: +The program requires a config file that stores some paths and, if a +postgres database is used, the credentials for it. If several +publication platforms are used, simply create different config files +for each instance. + +It should contain at least the following fields: ``` [server] media_dir: production_url: +``` +When using SQLite, you can specify the database file like this: + +``` +[sqlite] +database_file: +``` -[database] +Insert the postgres database credentials like this: + +``` +[postgres] database_name: user: host: