ndt-server
docker native ndt5 and ndt7 server with prometheus integration
File Explorer
Download Latest Version (.zip)- ci.yml
- claude.yml
- bbr.go
- bbr_linux.go
- bbr_stub.go
- go.mod
- go.sum
- main.go
- result.go
- Dockerfile
- README.md
- start.sh
- digital-7-mono.ttf
- League_Gothic.eot
- League_Gothic.otf
- mlab-logo-small.png
- mlab-logo.png
- index.html
- embed.html
- gauge.min.js
- ie.css
- index.html
- jquery-1.12.1.min.js
- ndt-browser-client.js
- ndt-wrapper-ww.js
- ndt-wrapper.js
- ndt7-download-worker.js
- ndt7-upload-worker.js
- ndt7.html
- ndt7.js
- script.js
- style.css
- widget.html
- logging.go
- logging_test.go
- namevalue.go
- metrics.go
- c2s.go
- c2s_test.go
- data.go
- wshandler.go
- meta.go
- meta_test.go
- metrics.go
- server.go
- plain.go
- plain_test.go
- messager.go
- messager_test.go
- protocol.go
- protocol_test.go
- s2c.go
- server.go
- web100.go
- web100_linux.go
- web100_stub.go
- ws.go
- ndt5.go
- README.md
- closer.go
- sender.go
- download.go
- handler.go
- handler_integration_test.go
- handler_test.go
- integrationclaims.go
- listener.go
- measurer.go
- metrics.go
- README.md
- archivaldata.go
- ndt7test.go
- ndt7test_test.go
- ping.go
- receiver.go
- file.go
- spec.go
- sender.go
- upload.go
- fdinfo.go
- net.go
- net_test.go
- platformx.go
- platformx_linux.go
- platformx_stub.go
- data-format.md
- ndt7-protocol.md
- tcpinfox.go
- tcpinfox_linux.go
- tcpinfox_stub.go
- package.json
- unittest_client.js
- version.go
- .gitignore
- AGENTS.md
- AUTHORS
- build.sh
- cloud-config.yaml
- collectd.prom
- deploy_ndt_to_gce.sh
- docker-compose.yml
- Dockerfile
- Dockerfile.local
- gen_local_test_certs.bash
- go.mod
- go.sum
- lame_duck.prom
- LICENSE
- ndt-server.go
- ndt-server_test.go
- README.md
- test.sh
# Installation Guide
git clone https://github.com/m-lab/ndt-server
Downloads the entire project code from GitHub to your computer.
cd ndt-server
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build . -t ndt-server
Builds a runnable image based on the Dockerfile.
docker run --network=bridge \
Runs the built image as an actual container.
docker-compose run ndt-server ./gen_local_test_certs.bash
Runs the command against the services defined in the compose file.
docker-compose up
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
3. Node.js
Easycd testdata
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
4. Go
Mediumcd cmd/generate-schemas
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
