How to use the CLI#

To build the new version of the website, run the following:

swh dataportal build -o /tmp/dataportal/

To build the old version, run:

swh dataportal generate -o /tmp/dataportal/

To serve the website, run:

python3 -m http.server -b :: -d /tmp/dataportal