mirror of
https://github.com/librespeed/speedtest.git
synced 2026-05-13 16:26:38 +00:00
Page:
Installation (Node.js)
Pages
Alternative backends
Browser support
CentOS 8 installation guide
Contributing
Home
Implementation details
Installation (Go)
Installation (Node.js)
Installation (PHP)
Installation (PHP with Docker)
Installation
Making a custom front end
Multiple test points (PHP)
Nginx vHost for PHP version
No backend
Reverse proxy with Apache
Reverse proxy with Nginx
Troubleshooting, common problems, known limitations
Using PM2 to keep the Node Server running
Using prebuilt NodeJS Binaries
backend files
results files
speedtest.js
speedtest_worker.js
No results
0
Installation (Node.js)
dosse91 edited this page 2019-09-25 09:27:38 +02:00
Table of Contents
Requirements
- A server with a fast connection (at least 100 Mbps recommended)
- nodeJS (tested with 8.10)
- npm or yarn
Note: prebuilt packages are available for Windows, macOS and Linux. No installation is required for these.
Linux:
- Install git by executing
sudo apt install git - Clone the repo and enter the directory:
git clone https://github.com/librespeed/speedtest.git && cd speedtest && git checkout node - Install the node dependencies by executing
npm ioryarn(depending on which Package Manager you use) - Start the Speedtest Server:
node Speedtest.js
macOS
- Start the Terminal
- Install git via brew:
brew install git(If you have XCode installed, git should already be installed. Trygit --version) - Clone the repo and enter the directory:
git clone https://github.com/librespeed/speedtest.git && cd speedtest && git checkout node - Install the node dependencies by executing
npm ioryarn(depending on which Package Manager you use) - Start the Speedtest Server:
node Speedtest.js
Windows
- Install git via Git For Windows
- Open git bash
- Clone the repo and enter the directory:
git clone https://github.com/librespeed/speedtest.git && cd speedtest && git checkout node - Install the node dependencies by executing
npm ioryarn(depending on which Package Manager you use) - Start the Speedtest Server:
node Speedtest.js