oldrich-s / musicope

The Piano Game
MIT License
275 stars 73 forks source link

Cannot find npm install nor npm start #43

Open CorgiRetriever opened 3 years ago

CorgiRetriever commented 3 years ago

I've downloaded the thing, but I can't really find the npm install and start files, am I doing something wrong? my first time using github here, so help would be more than appreciated.

papb commented 3 years ago

npm install and npm start are two commands that you must run from the command line, while inside the folder you just opened. NPM will do its magic automatically, by reading the package.json file.

Let me know if you can do it :)

shadowtime commented 3 years ago
  1. Download and install node.js https://nodejs.org/
  2. Open Command Line: Press WIN+R then type cmd and click OK
  3. Type the following commands by pressing Enter after each: cd /d <node.js directory> npm install <musicope-master directory> npm explore musicope --npm run-script %cd%\node server.js Where: <node.js directory> - full path to node.js directory; <musicope-master directory> - path to musicope-master directory. Notes: don't close the window after that.
  4. Add some MIDI-songs to <musicope-master directory>\static\songs
  5. Open browser Google Chrome and go to http://localhost/