From 4ce2727cd0ac80d5c22233db792eaf85a1a34223 Mon Sep 17 00:00:00 2001 From: Markin Igor <markin.io210@gmail.com> Date: Thu, 8 Nov 2018 16:55:16 +0300 Subject: [PATCH] Update readme. --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78f41f9..7144cac 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,17 @@ Vereign’s JavaScript library is an asynchronous library that allows for digitally signing your email and in-browser documents, data encryption, and key-based authentication. -## Usage +## Development -Run `make` and get client library bundle and iframe html bundle from `javascript/dist` +Run `make dev` to enter development mode. Library will be built with all Restful API endpoints and served from `localhost:9000`. If you edit JS libs code, it will be reloaded on the fly. + +- Client being served from `http://localhost:9000/viamapi-client.js` +- Iframe being served from `http://localhost:9000/viamapi-iframe.html` + +You can specify these URLs in the clients. + +If you have to do changes in `main.go`, you need interrupt current process and do `make dev` again. + +## Building + +Run `make` and get client library and iframe bundles from `javascript/dist` -- GitLab