Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elexx/swazam
Software Architecture Project - Technical University of Vienna
https://github.com/elexx/swazam
Last synced: 6 days ago
JSON representation
Software Architecture Project - Technical University of Vienna
- Host: GitHub
- URL: https://github.com/elexx/swazam
- Owner: elexx
- Created: 2015-08-18T15:58:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T16:16:17.000Z (over 9 years ago)
- Last Synced: 2024-11-07T14:30:07.384Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 938 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
README
Necessary tools for running the TestSuite: bash, screen, Java SE 7, Maven (version 2.2.1 at least)
1. TestSuite
*) Please copy your peer mp3 files to Swazam/Testsuite/data//*.mp3
where PeerX is the folder that contains the music database for peer X.*) Please copy the mp3 snippets for the client's search to Swazam/Testsuite/data/Client/*.mp3
*) In terminal: change to Swazam/Testsuite and execute ./test.sh
The TestSuite starts 5 peers, the server and a client and adds mp3s to the peers directories. The TestSuite will perform several checks beforehand and print messages if any preconditions are not met.*) The TestSuite halts after executing all automatic tests.
For further testing, you can now manually start the Client GUI by changing to Swazam/Client and executing:
java -jar target/client-0.0.1.jarYou can also manually test using the Client's command line by executing:
java -jar target/client-0.0.1.jar
Just follow the command line output (use credentials below).*) If you like to have a look at the commandline outputs of the server/peers/client you can now switch to
Swazam/Testsuite/workingdir/.out|server.out
These files will be deleted after successful shutdown!!2. Webserver
The TestSuite also starts the Jetty Server, where the Web Application is deployed.
The Web Application is available athttp://localhost:8080/Login.xhtml
The user which is used for the TestSuite is (you may also use this user to login on the web):
Username: chrissi
Passwort: chrissi