From 63a245a4126d1c61e6bc2ac2f849f1f18d03bade Mon Sep 17 00:00:00 2001 From: iiSam <49128005+iSamBa@users.noreply.github.com> Date: Tue, 6 Apr 2021 14:16:23 +0200 Subject: [PATCH] Fix command to run the service in Windows --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e99a9f4..14944c0 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,16 @@ or clone the project and run it locally. Note that you will need a Spotify account (either free or premium) to log in to the site. ## How to Run -You will need to run a server. The example is ready to work in the port 8000, so you can do: +You will need to run a server. The example is ready to work in the port 8000 by running the following command : + +For Mac/Linux : $ python -m SimpleHTTPServer 8000 +For Windows : + + $ python -m http.server 8000 + and open `http://localhost:8000` in a browser. (This requires python to be installed on your machine.) ## Features @@ -28,4 +34,4 @@ Most of the functionality offered through the Spotify Web API endpoints is imple - Delete track from playlist - Fetch user's saved tracks and save a tracks - Follow and unfollow artists or users -- Check if the user is following an artist or user \ No newline at end of file +- Check if the user is following an artist or user