Installation

From richreports
Jump to: navigation, search

This page contains installation instructions for the RichReports library on each of the supported platforms.

Haskell

Install the Haskell Platform and then run the following on the command line:

  cabal install richreports

JavaScript

Install Node.js. If it is necessary to install npm separately, do so as well, e.g.:

  curl https://www.npmjs.org/install.sh | sh

Next, install RichReports in your project using the following (the recommended way to do this when using Node.js is to install a separate copy of the library within every project that uses it):

  npm install richreports

If an earlier version of the library is already installed, you can upgrade it to the latest version in the following way:

  npm update richreports

PHP

Install the PEAR package manager. It is then possible to install the package in the following way:

  pear install https://raw.githubusercontent.com/lapets/richreports/master/PHP/richreports-0.0.3.tgz

If an earlier version of the package is already installed, you can upgrade it to the latest version in the following way:

  pear upgrade https://raw.githubusercontent.com/lapets/richreports/master/PHP/richreports-0.0.3.tgz

It is also possible to download or retrieve the standalone PHP file from the repository:

  wget https://raw.githubusercontent.com/lapets/richreports/master/PHP/richreports.php

Python

Install the latest version of Python 3. It is then possible to retrieve the archive or an installer for the library directly from PyPI. Alternatively, it is possible to install pip, and then install RichReports using the following:

 pip install richreports

If an earlier version of the package is already installed, you can upgrade it to the latest version in the following way:

 pip install --upgrade richreports