3.5.0 • Published 11 months ago

@proppos/fastpay-cli v3.5.0

Weekly downloads
43
License
-
Repository
-
Last release
11 months ago

FASTPAY CLI DOCUMENTATION

TABLE OF CONTENT

  1. Pre-requisites
  2. Contributing

PRE REQUISITES

There are some requisites that need to be fulfilled before being able to use the CLI.

  • The supported CPU architectures supported are arm64v8 and amd62, the CLI doesn't allow using other architectures like for example arm32v7.
  • The CLI is a node package, and it requires nodejs 12 or higher, an older version may work, but it's not officially supported.
  • The CLI uses docker and docker-compose, so, for being able to interact with the services docker and docker-compose must be installed manually.
  • The docker registry authorization need to be granted manually, otherwise, any image that belongs to the proppos docker registry will fail to download.

CONTRIBUTING

Before running CLI in development it's required to have the daemon service running in the machine , go to the daemon development note in order to launch the daemon.

EXECUTE CLI IN LOCAL (using the daemon)

In case of doubt, there is an entry in confluence with all the steps to turn on the Daemon and to be able to use the Daemon and the CLI locally. https://boiradigital.atlassian.net/wiki/spaces/PROPPOS/pages/1172832257/Execute+daemon+in+local

DEVELOPMENT BUILD

You need to install the project dependencies in first place:

npm install

In order to run the development builder you need to run the following command:

npm run dev

Once the build is done you'll see a new script named fastpay.js, once this is done the first time, you need to add this build to the npm binaries by executing:

sudo npm link

From now on, fou can run the CLI try it with the following command:

sudo fastpay help

DEPLOYING NEW VERSION

To deploy a new package version of the package you need to follow the standard procedures.


The first time you'll need to set up your npm credentials follow the official documentation.

First of all you need to create a new version of the package:

npm version minor ## Stable version following the standard syntax
## OR
npm version prerelease --preid=rc ## to create a ne pre release version

Once the version it's done and pushed to the repository (including the tag) you have to publish the package version to NPM:

npm publish
3.5.0

11 months ago

3.3.1-2

1 year ago

3.4.0

1 year ago

3.3.1-1

1 year ago

3.2.2-0

2 years ago

3.2.2-rc.0

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.2.0-rc.0

2 years ago

3.0.0

2 years ago

3.0.0-rc.2

2 years ago

3.0.0-rc.1

2 years ago

3.0.0-rc.0

2 years ago

3.0.0-rc.3

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago