Calculate Optimal Setups
Go to file
2024-08-04 08:30:24 +02:00
assets 2024 CN 2024-07-23 23:37:58 +08:00
components Übersetzung #3 2024-08-04 08:28:44 +02:00
consts Übersetzung #3 2024-08-04 08:30:24 +02:00
libs libs/reducers/configReducer.js aktualisiert 2024-08-03 21:21:16 +02:00
pages Titel übersetzt auf Deutsch (löst #2) 2024-08-03 22:05:29 +02:00
public forza ferrari 2024-08-03 21:46:21 +02:00
styles noreport 2023-09-04 02:11:46 +08:00
.eslintrc.json Initial commit 2022-08-26 23:03:37 +00:00
.gitignore sentry 2023-04-21 11:45:13 +08:00
LICENSE Create LICENSE 2022-08-28 12:07:33 +08:00
next.config.js remove @sentry 2024-05-11 17:03:59 +08:00
package.json remove @sentry 2024-05-11 17:03:59 +08:00
README.md README.md aktualisiert 2024-08-03 22:22:43 +02:00

F1 Manager Setup Calculator

The name explains it all.

Website: https://f1setup.kmpr.at/

Install

apt install ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=21
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
apt update && apt install nodejs
node --version
cd ~ && git clone https://git.kmpr.at/kamp/F1Manager-Calc.git
cd ~/F1Manager-Calc
npm install
npm run build
npm run start

Run as service

nano /etc/systemd/system/f1setup.service

[Unit]  
Description=F1 Setup Manager  
[Service]  
ExecStart=/usr/bin/npm run start --prefix /root/F1Manager-Calc  
Restart=always  
[Install]  
WantedBy=multi-user.target  

systemctl daemon-reload
systemctl start f1setup
systemctl enable f1setup

Update

cd ~/F1Manager-Calc && git pull --force
npm run build && systemctl restart f1setup

Update cron

todo