Setup Windows
Here we describe the setup for Windows.
-
Download NodeJS
To use MySpeed, you first need NodeJS. You can easily download the installer here. Recommended is the LTS version 18 of NodeJS. -
Download MySpeed
Now download the latest version of MySpeed. You can find the latest release here. Download the file "MySpeed-x.x.x-zip" from here. -
Unpack the file
Now unzip the downloaded file to a place of your choice. Preferably to a place that you know afterwards 🌚. -
Test your installation
First navigate to the folder where you unzipped the file. Click withShift
+Right click
into an empty area in this folder and select "Open in Powershell".
Now paste this command into the console window and pressEnter
:npm install
Does the NPM installation fail?
There is a possibility that there are no precompiled modules for your system. In this case you have to compile the modules yourself. Follow these steps:
-
Download Python
To "build" the project, you also need to download Python. You can do this here. -
Download the Visual Studio BuildTools
The "node-gyp" tool also requires Visual Studio's BuildTools to successfully "build" the project. Here's how it works:- click on this link and wait a short time until the download starts
- open the file and click "continue
- now select the optional workload "Desktop development with C++" and confirm your selection by clicking on "Install
- run
npm install
again
If everything runs successfully, you did everything right! Congratulations. :)
You can now start MySpeed with this command in your Powershell. -
-
Start MySpeed
$env:NODE_ENV="production"; node server
Automatic startup using the autostart folder in Windows
-
Open the autostart folder in windows
Press both keys (Windows
+R
) simultaneously on your keyboard until a Run dialog appears. Then type%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
and pressEnter
. -
Create the autostart file
First make sure you have filename extensions active. Once this is done. Create a new document withRight click
>New
>Text document
.
Then pressCTRL
+A
and write as filename "MySpeed.bat". Then pressEnter
2 times -
Create the content
Right click and selectEdit
. Then paste the code from below and adjust your installation location.@echo off cd "C:\Users\Desktop\MySpeed" set NODE_ENV=production node server
-
If everything worked, MySpeed should now start automatically when the system is started.