0.0.2 • Published 5 years ago
@stellarbeat/stellar_analysis_temp v0.0.2
Running on a local Web Server
In this section we show how to run this tool using a local web server.
- Install wasm-pack
- This requires a
Rustupinstallation which can be downloaded here.
- This requires a
- Build the sources in the project's root directory:
wasm-pack build --target web- Start a local HTTP server of your choice such as Python3's http.server:
python3 -m http.serverAlternatively, the analyses may be performed on our server which can be found here.
Deployment to a Web Server
This section covers how this tool can be deployed to your web server instead.
- Build the sources as shown above (item 1 & 2).
Copy the following files to the location of your web server's filesystem maintaining the directory structure:
index.htmldata_handler.jsgraph.jslayout.cssutil.jspkg/stellar_analysis_bg.wasmpkg/stellar_analysis.js
The rest of the files do not need to be copied to your web server.
Depending on your web server, you can now serve the page on your server.
The analyses performed here are powered by the fbas_analyzer tool/library.