development_guide.md
This file outlines the process of setting up a local dev environment for Metrolist.
This has been tested on Linux, but should work on other platforms with some adjustments.
git clone https://github.com/MetrolistGroup/Metrolist
cd Metrolist
git submodule update --init --recursive
cd app
bash generate_proto.sh
cd ..
[ ! -f "app/persistent-debug.keystore" ] && keytool -genkeypair -v -keystore app/persistent-debug.keystore -storepass android -keypass android -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Android Debug,O=Android,C=US" || echo "Keystore already exists."
./gradlew :app:assembleFossDebug
ls app/build/outputs/apk/foss/debug/app-foss-debug.apk
This project uses GitHub Secrets to securely store API keys for building releases. To set up the secrets:
Go to your GitHub repository settings
Navigate to Settings → Secrets and variables → Actions
Add the following repository secrets:
LASTFM_API_KEY: Your LastFM API keyLASTFM_SECRET: Your LastFM secret keyGet your LastFM API credentials from: https://www.last.fm/api/account/create
Note: These secrets are automatically injected into the build process via GitHub Actions and are not visible in the source code.