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

Rename to fc00.org

This commit is contained in:
Vanhala Antti 2014-03-30 17:50:35 +03:00
parent 51dce0202c
commit 374b565ce6
2 changed files with 6 additions and 6 deletions

View File

@ -5,19 +5,19 @@ Source code for http://fc00.org (http://www.fc00.org for clearnet)
## Web server ## Web server
```bash ```bash
git clone git@github.com:Randati/fc00.git git clone git@github.com:Randati/fc00.org.git
sudo apt-get install python-flask python-flup sudo apt-get install python-flask python-flup
cd web cd web
cp lighttp.example.conf lighttp.conf cp lighttp.example.conf lighttp.conf
nano lighttp.conf nano lighttp.conf
sudo sh -c "echo 'include \"/path/to/fc00/web/lighttp.conf\"' >> /etc/lighttpd/lighttpd.conf" sudo sh -c "echo 'include \"/path/to/fc00.org/web/lighttp.conf\"' >> /etc/lighttpd/lighttpd.conf"
``` ```
## Mapper ## Mapper
```bash ```bash
git clone git@github.com:Randati/fc00.git git clone git@github.com:Randati/fc00.org.git
sudo apt-get install python-pygraphviz python-httplib2 sudo apt-get install python-pygraphviz python-httplib2
cd mapper cd mapper
@ -25,5 +25,5 @@ cp conf_sh.example.py conf_sh.py
nano conf_sh.py nano conf_sh.py
./start-mappers.sh ./start-mappers.sh
./makeGraph.py && scp graph.json user@www.fc00.org:/path/to/fc00/web/static/graph.json ./makeGraph.py && scp graph.json user@www.fc00.org:/path/to/fc00.org/web/static/graph.json
``` ```

View File

@ -6,14 +6,14 @@ server.modules += (
fastcgi.server += ("/fc00.fcgi" => fastcgi.server += ("/fc00.fcgi" =>
(( ((
"socket" => "/tmp/fc00-fcgi.sock", "socket" => "/tmp/fc00-fcgi.sock",
"bin-path" => "/path/to/fc00/web/fc00.fcgi", "bin-path" => "/path/to/fc00.org/web/fc00.fcgi",
"check-local" => "disable", "check-local" => "disable",
"max-procs" => 1 "max-procs" => 1
)) ))
) )
alias.url += ( alias.url += (
"/static/" => "/path/to/fc00/web/static/" "/static/" => "/path/to/fc00.org/web/static/"
) )
url.rewrite-once += ( url.rewrite-once += (