Skip to content

2. How to run athena

apas edited this page May 6, 2019 · 3 revisions

In order to run athena or build static HTML you need to activate in your shell session the virtual environment created automatically by install.py earlier:

  1. source env/bin/activate

Now you can run athena and build static HTML with the two commands listed below.

Tip: in order to deactivate and exit the virtual environment run deactivate.

Running athena

  1. python athena.py

athena will start a Flask server at 127.0.0.1:5000.

Building static HTML

  1. python athena.py build

A new build/ directory will be created (it's automatically ignored by git.) For subsequent builds athena rebuilds only the updated files rather than the entire codebase.

In order to deploy athena to a remote server read the relevant section in the Wiki.

Clone this wiki locally