randomize n albums to be listen based in your followed artists
- create an
.envfile in the root of the project like this:
RSPOTIFY_CLIENT_ID="get me in https://developer.spotify.com/dashboard/"
RSPOTIFY_CLIENT_SECRET="get me in https://developer.spotify.com/dashboard/"
RSPOTIFY_REDIRECT_URI="http://localhost"- Make sure
http://localhostis added to your Spotify app's Redirect URIs in the dashboard - to run:
cargo run -- -w - or with the binary:
./target/debug/ranbumfy -w
- to run tests:
cargo test - to run only integration tests:
cargo test --test integration - to run only one test:
cargo test <TESTNAME> - to run only unit tests:
cargo test --bin ranbumfy - take a look in
.gitlab-ci.ymlto see which rust version is being supported