blob: f9b7100184edd2181b17217c3800f871cd9e03b3 (
plain) (
tree)
|
|
Compilation
===========
execute "make" in the top directory
Execution
=========
Server:
execute "server/start.sh"
If you want to have network support, you maybe have to supply your
public IP address as first parameter to that script.
T
Client:
cd client, erl -name <any_name>
If you want to have network support, you maybe have to supply -name
<any_name>@<IP address>.
In the shell you can use the following commands:
client:register(<hostname>, <username>, <password>).
Register the first user account (admin).
client:login(<hostname>, <username>, <password>).
Log in.
If you are logged in the server you can us the following commands:
client:list().
List all media objects.
client:getVotes().
Get your available votes.
client:vote(<artist>, <title>).
client:devote(<artist>, <title>).
Vote or devote the given media object.
client:register(<username>, <password>).
(only for admin accounts) Register a new user account.
|