update readme install
This commit is contained in:
@@ -2,6 +2,25 @@
|
||||
|
||||
This folder contains the supported Windows 11 installation and start scripts for RC RaceCore.
|
||||
|
||||
For a completely new computer, the shortest supported path is:
|
||||
|
||||
```powershell
|
||||
winget install --id Git.Git --exact --source winget
|
||||
```
|
||||
|
||||
Reopen PowerShell, then run:
|
||||
|
||||
```powershell
|
||||
Set-Location $HOME
|
||||
git clone https://git.dio.nu/Public/Live_RC.git Live_RC
|
||||
Set-Location .\Live_RC
|
||||
.\windows\install.bat
|
||||
npm.cmd run status
|
||||
Invoke-RestMethod -Uri "http://127.0.0.1:8081/api/health"
|
||||
```
|
||||
|
||||
Open `http://localhost:8081` when the health check returns `ok = True`. The sections below explain missing Git, ZIP installation, Node.js, firewall rules and troubleshooting.
|
||||
|
||||
## Supported runtime
|
||||
|
||||
- 64-bit Windows 11 (`x64` or `arm64`)
|
||||
@@ -11,6 +30,30 @@ This folder contains the supported Windows 11 installation and start scripts for
|
||||
|
||||
Node.js 18 and 20 are not supported by the current native SQLite dependency.
|
||||
|
||||
## Get the project files
|
||||
|
||||
Git is needed only when you want to clone and later update with `git pull`. Check it in PowerShell:
|
||||
|
||||
```powershell
|
||||
git --version
|
||||
```
|
||||
|
||||
If Git is missing:
|
||||
|
||||
```powershell
|
||||
winget install --id Git.Git --exact --source winget
|
||||
```
|
||||
|
||||
Reopen PowerShell, then clone the raw URL without Markdown brackets:
|
||||
|
||||
```powershell
|
||||
Set-Location $HOME
|
||||
git clone https://git.dio.nu/Public/Live_RC.git Live_RC
|
||||
Set-Location .\Live_RC
|
||||
```
|
||||
|
||||
Without Git, download the ZIP archive from [the public repository](https://git.dio.nu/Public/Live_RC) and extract the complete project. The project root must directly contain `package.json`, `server.js`, `src\`, and `windows\`.
|
||||
|
||||
## Recommended installation
|
||||
|
||||
1. Extract or clone the complete repository, preferably to a short path such as `C:\Live_RC`.
|
||||
|
||||
Reference in New Issue
Block a user