Skip to content

Commit

Permalink
Rename to fc00.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Randati committed Mar 30, 2014
1 parent 51dce02 commit 374b565
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ Source code for http://fc00.org (http://www.fc00.org for clearnet)

## Web server
```bash
git clone [email protected]:Randati/fc00.git
git clone [email protected]:Randati/fc00.org.git
sudo apt-get install python-flask python-flup

cd web
cp lighttp.example.conf 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
```bash
git clone [email protected]:Randati/fc00.git
git clone [email protected]:Randati/fc00.org.git
sudo apt-get install python-pygraphviz python-httplib2

cd mapper
cp conf_sh.example.py conf_sh.py
nano conf_sh.py

./start-mappers.sh
./makeGraph.py && scp graph.json [email protected]:/path/to/fc00/web/static/graph.json
./makeGraph.py && scp graph.json [email protected]:/path/to/fc00.org/web/static/graph.json
```
4 changes: 2 additions & 2 deletions web/lighttp.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ server.modules += (
fastcgi.server += ("/fc00.fcgi" =>
((
"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",
"max-procs" => 1
))
)

alias.url += (
"/static/" => "/path/to/fc00/web/static/"
"/static/" => "/path/to/fc00.org/web/static/"
)

url.rewrite-once += (
Expand Down

0 comments on commit 374b565

Please sign in to comment.