Updated documentation; require start.sh.

This commit is contained in:
Nick Daly 2012-04-08 21:01:18 -05:00
parent 9c191d8a2c
commit a4c0d1619d
2 changed files with 10 additions and 9 deletions

View File

@ -487,12 +487,12 @@ First, you'll need to create a certificate to serve Santiago over HTTPS::
# chgrp 1000 santiago.crt
# chmod g+r santiago.crt
Next, you'll need to open up "start.py" and update the system path to locate the
Next, you'll need to open up ``start.sh`` and update the system path to locate the
"gnupg_" and "cfg" modules.
.. _gnupg: https://code.google.com/p/python-gnupg/
Finally, start the Santiago process in a console with ``start.py``. Test it out
Finally, start the Santiago process in a console with ``start.sh``. Test it out
by navigating to:
https://localhost:8080/query?host=b&service=santiago
@ -518,6 +518,11 @@ Tasks
- |TODO| Move SimpleSantiago onto Santiago, merge documentation.
- |TODO| Properly integrate the WOT into Santiago so that trust can be used,
even if services aren't available. This will allow us to use a box-specific
key for Santiago serving, as long as the box's owner signs and publishes that
box's key. Then, we can very effectively use the public WOT.
.. |TODO| unicode:: U+2610
.. |DONE| unicode:: U+2611

View File

@ -34,20 +34,16 @@ We also don't:
:TODO: Create startup script that adds all necessary things to the PYTHONPATH.
:FIXME: allow multiple listeners and senders per protocol (with different
proxies)
:TODO: move to santiago.py, merge the documentation.
"""
import cfg
from collections import defaultdict as DefaultDict
import gnupg
import logging
import sys
try:
import cfg
except ImportError:
# try a little harder to import cfg. Bomb out if we still fail.
sys.path.append("../..")
import cfg
def load_data(server, item):
"""Return evaluated file contents.