@sointeractive/angry-jupiter-setup

2.1.0 • Public • Published

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/
    
  2. Run AJ Setup

    angry setup <configFile> [options]
    

    where:

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

Options

You can run the module with the following options:

Option Description
-h, --help outputs information on how to use the application
-V, --version outputs the version of the application
-d, --details runs 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-errors run 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)

Readme

Keywords

none

Package Sidebar

Install

npm i @sointeractive/angry-jupiter-setup

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

31.6 kB

Total Files

8

Last publish

Collaborators

  • wszydlak
  • comarch