For easy version control, we use Git. You can download the latest version of Git from here.
winget install -e --id Git.Git
To run the Node.js application, you need to install Node.js. You can download the latest version of Node.js from here or use winget
.
winget install -e --id OpenJS.NodeJS
To control the Node.js application, we use PM2. You can install PM2 globally using the following command.
npm install -g pm2
You can also link PM2 to the web interface by running the following command.
Below is a command to link PM2 to the console of the MSC-Backnang. You should not run this command on your local machine. Pls use your own
link
command.
pm2 link uya5t4t5nmc2omi qauke1wfo0unsp0
To initialize the project, you need to clone the repository and install the dependencies. You can do this by running the following commands.
git clone https://github.com/HendrikRauh/MSC-Backnang-Zeitnahme.git
cd MSC-Backnang-Zeitnahme
npm run update
To use the Prolific Serial-to-USB device, you need to install the driver. You can download the latest version of the driver. You can download the latest version of the driver from here.
Note: You need to install the driver and restart the system before you can connect the device.
To make the usage of the application easier, you can create a script that starts the application. You can do this by creating a new file on the desktop ending with .bat
and adding the code to start the application.
@echo off
cd MSC-Backnang-Zeitnahme
npm run easy-start --silent
@echo off
cd MSC-Backnang-Zeitnahme
npm run update --silent
Note: You need to change the path to the project folder if you have not cloned the repository to the desktop.