Skip to content
Snippets Groups Projects
Commit 4ce2727c authored by Markin Igor's avatar Markin Igor
Browse files

Update readme.

parent 2f6ff10b
No related branches found
No related tags found
1 merge request!4Use webpack for bundling JS libs and move Golang code related to Iframe generation there
...@@ -3,6 +3,17 @@ ...@@ -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. 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`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment