5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-22 00:00:27 +00:00

update README

This commit is contained in:
Michał Zieliński 2015-07-26 22:16:07 +02:00
parent 94da0f811f
commit 72127ded31

View File

@ -1,6 +1,6 @@
# fc00.org
Source code for http://fc00.atomshare.net (http://h.fc00.atomshare.net for Hyperboria).
Source code for http://fc00.atomshare.net (http://h.fc00.atomshare.net on Hyperboria).
## Sending your view of the network
@ -16,14 +16,10 @@ chmod +x sendGraph.py
## Web server
```bash
git clone git@github.com:zielmicha/fc00.org.git
sudo apt-get install python-flask python-flup python-mysqldb
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz
cd fc00.org/web
cp web_config.example.cfg web_config.cfg
nano web_config.cfg
cp lighttp.example.conf lighttp.conf
nano lighttp.conf
echo 'include "/path/to/fc00.org/web/lighttp.conf"' | sudo tee -a /etc/lighttpd/lighttpd.conf"
python web.py
```
Run `web/updateGraph.py` periodically to rerender nodes graph. You may want to customize reverse-proxy IP retrieval logic in web.py.