Update README.md

This commit is contained in:
Sai Raj 2022-01-26 02:31:23 +05:30 committed by GitHub
parent d7283fb13b
commit c4a5455b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# exchange-market # exchange-market
Exchange market for FLO to rupee# and vise-versa Exchange market for FLO to rupee# and vise-versa
## Run commands ## Run `commands`
--------------- ---------------
``` ```
@ -11,17 +11,28 @@ npm run setup - Finish the setup (configure and reset password
npm run configure - Configure the app. npm run configure - Configure the app.
npm run reset-password - Reset the password (for private-key). npm run reset-password - Reset the password (for private-key).
npm run create-schema - Create schema in MySQL database. npm run create-schema - Create schema in MySQL database.
npm run configure-backup - Configure the backup.
npm run create-backup-schema - Create backup-schema in MySQL database.
npm run backup - Run the backup-node.
npm start - Start the application (main). npm start - Start the application (main).
```
**NOTE:**
env variable `PASSWORD` required for `npm start`.
NOTE: env variable 'PASSWORD' required for 'npm start'. Windows:
```
WINDOWS:
$env:PASSWORD="<password>"; npm start $env:PASSWORD="<password>"; npm start
```
LINUX: Linux:
```
PASSWORD="<password"> npm start PASSWORD="<password"> npm start
``` ```
*(Optional)*
Multiple instance can be run/setup on the same dir with different config files by using env variable 'I'.
Windows:
```
$env:I="<instance_ID>"; <command>
```
Linux:
```
I="<instance_ID>" <command>
```