-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Lars Kreisz edited this page May 18, 2014
·
7 revisions
I'm running the eiskalt daemon and this webinterface on my raspberry pi (install eiskalt daemon on raspbian wheezy) but it should run on any other system. Just install/compile the latest version of eiskalt daemon and serve this webinterface via http:
- Run the daemon once and kill it:
eiskaltdcpp-daemon
- It created it's default config files under
~/.eiskaltdc++
. You should add the following lines into~/.eiskaltdc++/DCPlusPlus.xml
and restart the daemon. For multiple directories to share add multiple directory tags:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<DCPlusPlus>
<Settings>
<Nick>MyNickname</Nick>
...
</Settings>
<Share>
<Directory Virtual="Name of share">/path/to/share/</Directory>
</Share>
- Add your hub to
~/.eiskaltdc++/Favorites.xml
for auto connect:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Favorites>
<Hubs>
<Hub Name="Name of your hub" Connect="1" Description="" Nick="MyNickname" Password="" Server="adc://HubIP:HubPort" UserDescription="" Encoding="" ClientId="" ExternalIP="" OverrideId="0" UseInternetIp="0" DisableChat="0" Mode="0" SearchInterval="1"/>
</Hubs>
<Users/>
<UserCommands/>
<FavoriteDirs/>
</Favorites>
- Clone the webinterface into some folder (for it's
/home/pi/icecult
):
pi@pi ~ $ git clone https://github.com/kraiz/icecult.git
- To serve the webinterface and proxy the jsonrpc interface install nginx and replace
/etc/nginx/site-enabled/default
with this:
server {
root /home/pi/icecult/app;
location /rpc {
rewrite /rpc/(.*) /$1 break;
proxy_http_version 1.1;
proxy_pass http://127.0.0.1:3121;
}
}
- Now the webinterface should be reachable under
http://<ip>/
.