Skip to content
Snippets Groups Projects
Commit 0298e14a authored by Éloïs's avatar Éloïs
Browse files

update README

parent 1870b737
No related branches found
No related tags found
No related merge requests found
# DUP Tools front # DUP Tools front
Based on the [create-wasm-app] template to provide a full js interface using `dup-tools-wasm`, a toolbox for developers wishing to use the DUP procotole. Based on the [create-wasm-app] template to provide a full js interface using [dup-tools-wasm], a toolbox for developers wishing to use the DUP procotole.
Currently, only the document validator feature is implemented, but the `dup-tools-wasm` library already allows you to do potentially much more ! Currently, only the document validator feature is implemented, but the `dup-tools-wasm` library already allows you to do potentially much more !
[create-wasm-app]: https://github.com/rustwasm/create-wasm-app.git [create-wasm-app]: https://github.com/rustwasm/create-wasm-app.git
[dup-tools-wasm]: https://git.duniter.org/tools/dup-tools-wasm
## Supported browsers
* Firefox
* Chrome/Chromium
## Usage ## Usage
You can use DUP Tools directly on the web: [https://tools.duniter.io/dup-tools-front/](https://tools.duniter.io/dup-tools-front/).
For local use, you only need `npm` : For local use, you only need `npm` :
``` ```
...@@ -17,7 +25,10 @@ npm start ...@@ -17,7 +25,10 @@ npm start
Then open `localhost:8080` in a supported browser. Then open `localhost:8080` in a supported browser.
## Supported browsers ### Change port
* Firefox If you are already using port `8080` for your development, you can change the port by modifying `package.json` file as follows :
* Chrome/Chromium
In the `scripts` section, modify the `start` command:
Replace `"start": "webpack-dev-server"` by `"start": "webpack-dev-server --port NEW_PORT"`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment