-
Notifications
You must be signed in to change notification settings - Fork 23
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:
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
.
python athena.py
athena will start a Flask server at 127.0.0.1:5000
.
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.