A web app to show what song you're listening in spotify
- Clone this repo by typing
git clone https://github.com/ibldzn/myspot.git
in your terminal - Create your own Spotify App
- Make a file named
.spotify.env
in the root folder of this project - Insert your Spotify App's client secret and client id in the
.spotify.env
file you just created like this:
CLIENT_ID=<your_client_id>
CLIENT_SECRET=<your_client_secret>
- Run
docker build -t myspot .
in your terminal. - Run
docker run -p 5000:5000 myspot
in your terminal - Visit http://127.0.0.1:5000/ in your browser
- Done, I guess.
- Do step 1-4 like explained above
- Run
cd myspot
in your terminal - Run
pip install -r requirements.txt
in your terminal - Run
python3 run.py
in your terminal - Visit http://127.0.0.1:5000/ in your browser
- Done, I guess.
I just wanted to learn Docker.