3.0 KiB
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 clickinto an empty area in this folder and select "Open in Powershell".
Now paste this command into the console window and pressEnter:npm install??? warning "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:
1. Download Python To "build" the project, you also need to download Python. You can do this [here](https://www.python.org/downloads/). 2. 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: 1. click [on this link](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools) and wait a short time until the download starts 2. open the file and click "continue 3. now select the optional workload "Desktop development with C++" and confirm your selection by clicking on "Install 3. run `npm install` againIf 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\Startupand 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+Aand write as filename "MySpeed.bat". Then pressEnter2 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.