Setting up a web-server

The CMR web-pages

To get started from scratch:

$ cd ~
$ mkdir sphinx
$ cd sphinx
$ git clone
$ git clone
$ mkdir downloads

Put db-files and images for the front-page in the downloads folder. Then run from your crontab:

*/15 * * * * cd ~/sphinx && PYTHONPATH=$PP python cmr/ > cmr.log

This will create a new compressed tar-file cmr-web-page.tar.gz when there are changes in the cmr or ase Git-repositories. The tar-file contains static HTML and can be copied to a web-server and unpacked there.

The CMR database

python3.6 -m ensurepip pip: twisted psycopg2-binary

git clone git clone

jsmol …