From ab720095b804089f0c192d458980793c82555ffb Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Sun, 16 Sep 2018 22:45:25 +0200 Subject: [PATCH 1/2] updated cmd.helper.js --- lib/util/cmd.helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/cmd.helper.js b/lib/util/cmd.helper.js index 0aa65ed144..e473f033bc 100644 --- a/lib/util/cmd.helper.js +++ b/lib/util/cmd.helper.js @@ -18,7 +18,7 @@ program .option('-u, --user ', 'username of database / root by default') .option('-p, --password ', 'password of database / empty by default') .option('-d, --database ', 'database schema name') - .option('-r, --ipAddress ', 'IP interface of your server / locahost by default') + .option('-r, --ipAddress ', 'IP interface of your server / localhost by default') .option('-n, --portNumber ', 'port number for app / 3000 by default') .option('-o, --port ', 'port number for mysql / 3306 by default') .option('-s, --storageFolder ', 'storage folder / current working dir by default / available only with local') From ccc6fd496bbefb10f6f29c4bd2223f6f0b537dca Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Sun, 16 Sep 2018 22:46:09 +0200 Subject: [PATCH 2/2] fixed separat localhost --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd3b9fc15c..5b9bd3eb08 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ eg: blogs is parent table and comments is child table. API invocation will resul ``` /api/payments/103___JM555205 ``` -*___* : If there are multiple primary keys - seperate them by three underscores as shown +*___* : If there are multiple primary keys - separate them by three underscores as shown ## Pagination @@ -935,7 +935,7 @@ http://localhost:3000/_version -u, --user Username of database -> root by default -p, --password Password of database -> empty by default -d, --database database schema name - -r, --ipAddress IP interface of your server / locahost by default + -r, --ipAddress IP interface of your server / localhost by default -n, --portNumber Port number for app -> 3000 by default -o, --port Port number of mysql -> 3306 by default -a, --apiPrefix Api url prefix -> /api/ by default