blob: 7e35fe5c6c061bde14b684f1731e98ee394cf70e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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 adress as first parameter to that script.
T
Client:
cd client, erl -name <any_name>
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>).
Login on the server.
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.
|