| .. | ||
| assets | ||
| dist | ||
| ts | ||
| web | ||
| Android.bp | ||
| CMakeLists.txt | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rollup.config.mjs | ||
| tsconfig.json | ||
| web-dev-server.config.mjs | ||
netsim web UI
This directory contains the Web UI for netsim.
Prerequisite
The netsimd web server must be up and running.
Build Commands
Firstly, you must enter the ui directory and run npm install.
cd $REPO/tools/netsim/ui
npm install
Command for compiling and building web UI:
npm run build
Command for translating netsim's model.proto into model.ts:
npm run tsproto
Command for running local web development server:
npm start
Local web server will be served in http://localhost:8000/web/
Scripts
buildcompiles TypeScript into JavaScript and bundle to distribution with rolluptsprototranslates netsim's model.proto into model.tsstartruns your app for development, reloading on file changes
Tooling configs
package.jsoncontains all npm packages and scripts for web developmentrollup.config.mjsapplies import mappings to CDNs and bundles to distributiontsconfig.jsonhas configurations for typescript compiling.
Authors
[Hyun Jae Moon] hyunjaemoon@google.com
[Bill Schilit] schilit@google.com