Share Your Media
This project uses a MySQL database for data persistence. You should have MySQL up and running. For setting up a successful connection, the environment variables must be set. To obtain the songs you have got to have a running server instance.
cp .env.sample .env
After this, you must fill in the fields correctly and export them in your environment. Checkout direnv for your shell and EnvFile for IntelliJ.
Compile and run the client in a clean build.
mvn clean compile exec:java
Start a server instance.
mvn exec:java@server
Running tests.
mvn test
Format the code accordingly to common guide lines.
mvn formatter:format
Lint your code with checkstyle.
mvn checkstyle:check
Bundling the app into jar file.
mvn package
The recommended Integrated Development Environment (IDE) is IntelliJ IDEA. For the design it's recommended to install JavaFX Scene Builder.
Hugo Carvalho | Nelson EstevΓ£o | Pedro Ribeiro | Rui Mendes | Ricardo Silva |