Working with the databases

Building this web-page

Check out the source from https://gitlab.com/camd/cmr:

$ git clone https://gitlab.com/camd/cmr.git
$ cd cmr

Make sure you have up to date ASE and Sphinx installations (pip3 install -U ase sphinx). Then do:

$ make

This will download the database files and run Python scripts to create images and other stuff needed for the webpages (.svg and .csv files). This will take a couple of minutes the first time you do this. After that, Sphinx will build the html-files.

Modifying the pages

Edit the ReST and Python files (.rst and .py files) and then run make again and check the results:

$ make
$ make browse

When things are OK, you can git commit the updated files and the cmr.fysik.dtu.dk webpage will be updated automatically (happens once a day).