exchangemarket/README.md
sairajzero 48609bd1b7 Changing env-var to arguments
- Changes console.log and console.debug to relevant types
- PASSWORD and I environment variables are now passed as arguments to npm commands
- Added optional argument `--debug`. when passed, console.debug is also logged, else console.debug are turned off
2022-10-25 03:18:36 +05:30

970 B

exchange-market

Exchange market for FLO to rupee# and vise-versa

Run commands


npm install                     - Install the app and node modules.
npm run help                    - List all commands.
npm run setup                   - Finish the setup (configure and reset password).
npm run configure               - Configure the app.
npm run reset-password          - Reset the password (for private-key).
npm run create-schema           - Create schema in MySQL database.

npm start                       - Start the application (main).

NOTE: Argument PASSWORD required for npm start.

npm start -- -PASSWORD=<password>

(Optional) Multiple instance can be run/setup on the same dir with different config files by using argument 'I'.

<command> -- -I=<instance_ID>

(Optional) console.debug is now turned off by default. pass argument --debug to turn it on

npm start -- -PASSWORD=<password> --debug