Closed thiatrat closed 10 years ago
Hi
you don't have to install npm and the modules separately. You just have to install Node.js
If you're on Ubuntu, you can install the latest version of Node.js from the PPA:
sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs
If you don't have apt-add-repository, you can install it like this:
apt-add-repository
sudo apt-get install python-software-properties
And then go to the "somascrobbler-api" directlry and install the dependencies:
cd path/to/somascrobbler-api npm install # this will install all the necessary modules
Then copy and edit the config file:
cp config.dist.json config.json nano config.json # or which ever editor you prefer
Then start the program:
npm start
I've put up some better instructions.
Hi
you don't have to install npm and the modules separately. You just have to install Node.js
If you're on Ubuntu, you can install the latest version of Node.js from the PPA:
If you don't have
apt-add-repository
, you can install it like this:And then go to the "somascrobbler-api" directlry and install the dependencies:
Then copy and edit the config file:
Then start the program: