Skip to content
Mike Tunnicliffe edited this page Nov 6, 2015 · 12 revisions

You will need a git client and a compiler to clone and build.

On Windows, you will need to use the MS Visual Studio 2012/2013 compiler (to build against msvcr120.dll / msvcp120.dll) for compatibility with the Health Center agent core binaries. If you do not, then the Node.js process will probably crash when appmetrics starts.

On *NIX, you will need gcc toolchain version 4.8 to build for Node.js v4. (Note: running Node.js v4 requires libstdc++ providing glibc version 3.4.15 or higher).

Get the source code

Clone from github

git clone https://github.com/RuntimeTools/appmetrics

You now have latest dev code. To change to the latest release:

git checkout latest-release

Build

To build inside the source tree (without downloading Health Center core binaries):

npm install node-gyp nan@1.8.4
node_modules/.bin/node-gyp configure rebuild

To build and install (and run install scripts), go up a level and install the project directory:

cd ..
npm install ./appmetrics

Repository layout

The main development branch is master. Each release is tagged appmetrics-X.0.Z and the latest-release branch contains the latest tagged release.

Versioning scheme

The npm package for this project uses a semver-parsable X.0.Z version number for releases, where X is incremented for breaking changes to the public API described in this document and Z is incremented for bug fixes and for non-breaking changes to the public API that provide new function.

Development versions

Non-release versions of this project will use semver-parsable X.0.Z-dev.B version numbers, where X.0.Z is the last release with Z incremented and B is an integer.

Clone this wiki locally