Granted, installation is a bit cumbersome and sometimes the module compilation just doesn't work. Fortunately, this should improve with time, since the SQLite module will hopefully soon get binary builds via npm.
If you really can't get
npm install to work, you can replace
package.json, adapt the database settings in
settings-mine.js and use a MySQL server instead.
- Install Node.js
Since Pind is running on top of Node.js, there is no need of an additional HTTP server. For the dependencies used in the project, npm will take care of downloading and compiling all the necessary libraries.
Download and install Node.js from here. Also, make sure
npm.cmd are in your
PATH (per default at
- Install Git
If you haven't already, install Git for Windows. If you really want to live without Git, you can also download the zipball from GitHub instead of cloning in step 5 below. Note that if you use a graphical client such as TortoiseGit, you'll still need to install the Git command line tool in order to make Pind work.
- Install Build Tools
Download and install Python 2.7 and make sure the installation folder
Python27in in your
Download and install the Visual Studio 2010 Express.
On Windows 7 or above, download and install the Windows 7 SDK. You might have to uninstall any Microsoft Visual C++ 2010 Redistributable packages on your system in order to successfully install the SDK, such as:
- Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219
- Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219
Install Additional Dependencies
Pind needs to be able to unrar your downloaded files and deal with artwork. For that, the following software is needed:
Download and install GraphicsMagick and verify that the installer adds the directory to your
Download and install Unrar.
- Open a command line prompt - Win+R,
- Go to where you want to install Pind -
- Clone the repository -
git clone git://github.com/freezy/node-pind.git
- Install dependencies -
npm install -d
Don't close the command line window just yet.
- Configure Pind
config/settings-mine.jsand open it in a text editor.
Go through every option and update it if necessary. Make sure you use slashes "/" in the path names, not backslashes.
Make sure you got everything by searching "@important" in the file and double-check each value.
Initialize database schema via command prompt -
Start Pind for a first test run (
node app) and open a browser at
Make Pind start automatically
- Download and install NSSM
- On the command line prompt install Pind as a service -
nssm install "Pinball Daemon" "C:\Program Files\nodejs\node.exe" C:\Games\node-pind\prod.js- with path names of your installation.
If shit crashes, open up an issue. :)
npm install crashes with an error, there are a few points that have been reported to work and that you should try:
- Launch the command prompt as administrator
SET VisualStudioVersion=11.0in the console before doing anything
- Make sure all the paths you add to the
PATHvariable end with a trailing backslash (e.g.:
- If really nothing works, try with Node 0.8 instead of 0.10.