Skip to content
mattcolegate edited this page Oct 13, 2016 · 12 revisions

You will need a git client, Python 2.7 and a compiler to clone and build. See Prerequisites for building appmetrics from source code.

Get the source code

Clone from github

git clone --recursive 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):

cd appmetrics
npm install node-gyp [email protected]
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

On Windows, if you have more than one version of Microsoft Visual Studio installed, you may need to configure npm to choose the correct version using npm config (for example, npm config set msvs_version 2012).

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.