2.1.0 • Published 7 years ago

@sointeractive/angry-jupiter-setup v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

AngryJupiter Setup

Setup is a module of AngryJupiter - a console tool kit based on Node.js which allows for managing gamification instances in IsaaCloud.

Setup allows for sending an initial configuration for a gamification instance in IsaaCloud. Configuration may contain such elements as: achievements, scripts, leaderboards, and tags.


Prerequisites

To install Setup, you need to have AngryJupiter Core installed.

Installation

To install Setup, run the following command in your console:

angry install setup

Usage

  1. Optionally Enter the directory with a prepared configuration for an instance

    cd example_directory/
  1. Run AJ Setup

    angry setup <configFile> [options]

    where:

    • <configFile> is a required parameter that specifies file with setup configuration
    • [options] are optional (see below)
  1. The module will create each element of the configuration for a desired instance.

Options

You can run the module with the following options:

OptionDescription
-h, --helpoutputs information on how to use the application
-V, --versionoutputs the version of the application
-d, --detailsruns the application in the details mode
--env <environment>set config environment to use in setup
--resource <resourceName>set resource to setup (can use multiple times - ex. --resource tags --resource tasks)
--timeout <timeout>set each request timeout (in ms)
--tries-number <triesNumber>how many times request will be repeated if error occurs
--skip-errorsrun app without throw exception on api errors

Changelog

2.1.0

10 July 2018

  • Added option to throw exception on api errors

2.0.0

13 September 2016

  • Added support for multiple resource urls (microservices such as pages, rankme)