aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: f9b7100184edd2181b17217c3800f871cd9e03b3 (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
45
46
47
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.