You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
assets Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
dist Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
ts Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
web Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.gitignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
Android.bp Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
CMakeLists.txt Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
package-lock.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
package.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
rollup.config.mjs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
tsconfig.json Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
web-dev-server.config.mjs Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.md

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

  • build compiles TypeScript into JavaScript and bundle to distribution with rollup
  • tsproto translates netsim's model.proto into model.ts
  • start runs your app for development, reloading on file changes

Tooling configs

  • package.json contains all npm packages and scripts for web development
  • rollup.config.mjs applies import mappings to CDNs and bundles to distribution
  • tsconfig.json has configurations for typescript compiling.

Authors

[Hyun Jae Moon] hyunjaemoon@google.com

[Bill Schilit] schilit@google.com