5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-12 23:20:26 +00:00
yggdrasil-map/README.md

27 lines
697 B
Markdown
Raw Normal View History

2014-03-30 14:43:14 +00:00
# fc00.org
2015-07-26 20:16:07 +00:00
Source code for http://fc00.atomshare.net (http://h.fc00.atomshare.net on Hyperboria).
2014-03-30 14:43:14 +00:00
2014-06-04 19:20:36 +00:00
## Sending your view of the network
2015-07-26 20:11:12 +00:00
2014-06-04 19:20:36 +00:00
```bash
2015-07-26 20:11:12 +00:00
wget https://raw.githubusercontent.com/zielmicha/fc00.org/master/scripts/sendGraph.py
2014-06-04 19:20:36 +00:00
nano sendGraph.py
chmod +x sendGraph.py
# Run this every 5-60 minutes
./sendGraph.py
```
2014-03-30 14:43:14 +00:00
## Web server
```bash
2015-07-26 20:11:12 +00:00
git clone git@github.com:zielmicha/fc00.org.git
git clone git@github.com:zielmicha/nodedb.git web/nodedb
2015-07-26 20:16:07 +00:00
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz
2014-03-30 14:43:14 +00:00
cd fc00.org/web
2015-07-26 20:16:07 +00:00
python web.py
2014-03-30 14:43:14 +00:00
```
2015-07-26 20:16:07 +00:00
Run `web/updateGraph.py` periodically to rerender nodes graph. You may want to customize reverse-proxy IP retrieval logic in web.py.