Coder Social home page Coder Social logo

Rollback about jukebox HOT 9 CLOSED

LaganYT avatar LaganYT commented on June 5, 2024
Rollback

from jukebox.

Comments (9)

LaganYT avatar LaganYT commented on June 5, 2024

What is the variable GOOGLE_SERVER_KEY for? And where do i get it?

from jukebox.

alexwohlbruck avatar alexwohlbruck commented on June 5, 2024

Hey, I preferred to merge the dev branch I had been working on since it included some features I wanted that didn't exist in the other version. That being said, its been a number of years since I worked on this and lots of maintenance isn't something I have a lot of time to prioritize at the moment. It seems like you've attempted to fork the project and get it running locally? If so, I can help you out with that.

To get the project running, you will just need to install the required packages with npm or yarn, and create a .env file with the following fields:

SPOTIFY_CLIENT_ID = xxxxxxxxxxxxxxxxxxxxx
SPOTIFY_CLIENT_SECRET = xxxxxxxxxxxxxxxxxxxxx
GOOGLE_SERVER_KEY = xxxxxxxxxxxxxxxxxxxxx

To get the Google server key, head to the Google Cloud Platform website, create a project and go to the APIs and Services page. Then Enable the Youtube Data API V3. You should be able to generate a server API key, which will be the value to put in your .env file.

Then, log in to the Spotify Developer Console, and create a new app. Once created, you should get Client ID and Client Secret keys, which are the other two values for your .env file.

Then, just run the server with npm start or yarn start.

from jukebox.

LaganYT avatar LaganYT commented on June 5, 2024

What is the build command?

from jukebox.

alexwohlbruck avatar alexwohlbruck commented on June 5, 2024

There isn't one, the server runs live JS and the frontend is old-school Angular. Frontend runs on localhost:8080

from jukebox.

LaganYT avatar LaganYT commented on June 5, 2024

Then how do i host from heroku? Im confused. Do i run commands in the command run?

from jukebox.

alexwohlbruck avatar alexwohlbruck commented on June 5, 2024

Create a new heroku app and add the heroku/nodejs buildpack. Then deploy using the method of your choice.

from jukebox.

LaganYT avatar LaganYT commented on June 5, 2024

What is the node version?

from jukebox.

alexwohlbruck avatar alexwohlbruck commented on June 5, 2024

It is working for me on 14.19.1, but should work for most all versions.

from jukebox.

LaganYT avatar LaganYT commented on June 5, 2024

Ok so i got it working. Just wondering what causes the synced music? I want to get rid of it. Also how do i have the player go to the next song on the album when the last song is over?

from jukebox.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.