From c4a5455b41c57c0d93acfb32697842629fbdbfc1 Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Wed, 26 Jan 2022 02:31:23 +0530 Subject: [PATCH] Update README.md --- README.md | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 479668a..5bf29b2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # exchange-market 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 reset-password - Reset the password (for private-key). 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). +``` +**NOTE:** +env variable `PASSWORD` required for `npm start`. -NOTE: env variable 'PASSWORD' required for 'npm start'. - -WINDOWS: +Windows: +``` $env:PASSWORD=""; npm start - -LINUX: +``` +Linux: +``` 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=""; +``` +Linux: +``` +I="" +```