aboutsummaryrefslogblamecommitdiffstats
path: root/README
blob: 7e35fe5c6c061bde14b684f1731e98ee394cf70e (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 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.