Update README.md
This commit is contained in:
parent
d7283fb13b
commit
c4a5455b41
29
README.md
29
README.md
@ -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>
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user