@proppos/fastpay-daemon
v1.7.3
Published
Fastpay edge services daemon
Downloads
230
Readme
FASTPAY DAEMON
CONTRIBUTING
Before continuing you need to have all the dependencies satisfied, check CLI development guide and proceed once you have all the dependencies installed.
EXECUTE DAEMON IN LOCAL
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 --pre-id=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