Coding Da Vinci Data Presentation Generator is a tool to ease the maintenance of data entries on the coding da vinci website.
Please be sure to have an up-to-date Python3 version installed on your computer. Compatibility with Python2 is not tested.
Install all required packages from the requirements file.
$ pip install -r requirements.txt
-
Create some data entries, e.g. by copying the example.yaml and follow the instructions and comments in the file.
Please be sure, to change the build variable to "true".
build: true
-
Run the build script
$ python3 generate_website_content.py <build_dir> <template_file> <data_dir>
-
Copy the generated code block into the daten.html file in the codingdavinci.de repo.
F. Rämisch [email protected]
2018, Universitätsbibliothek Leipzig