@sointeractive/angry-jupiter-setup
v2.1.0
Published
Angry Jupiter - Setup Module
Downloads
1
Readme
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 setupUsage
[Optionally] Enter the directory with a prepared configuration for an instance
cd example_directory/Run AJ Setup
angry setup <configFile> [options]where:
<configFile>is a required parameter that specifies file with setup configuration[options]are optional (see below)
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)
