- Before you start the project, ensure that the files secret/client_id.txt and secret/client_secret.txt are present. These must contain the client id and secret given in the Spotify dashboard.
- You must also ensure that any account you intend to log into the site has been added in the Spotify dashboard.
- Add any callback url you intend to use in the Spotify dashboard.
- Configure the addresses in site/.env and server/src/main/java/edu/brown/cs/student/main/Main.java
- The dynamic server is started by running Main.java and passing in as args the paths to
- secret/client_id.txt, secret/client_secret.txt, and secret/known.sqlite3.
- The static server must be started by running
npm start
in the site directory.
- There are unit tests in the dynamic server that may be run with
mvn package
. - There is also a selenium bot that functions to provide front end testing. This bot can be enabled through the normal unit test interface.
- In order to run the api tests, you must load the file secret/access_token.txt with a valid access token.
- The UITest needs the secret/ login, password, and username. Also, run in full screen for all buttons to be accesible.
The specification document can be found here