ArduPilot / ArduPilot/UAVLogViewer

How to set up the corresponding startup service

Open
#405 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
258
Forks
296
PR merge metrics
No merged PRs in 30d

Description

I used the following startup service to realize the self-starting of localized web pages.
```
[Unit]
Description=Uavlogviewer Server Service
After=network.target

[Service]
Environment=PORT=8080
WorkingDirectory=/home/ubuntu/repos/uavlog-viewer
ExecStart=/usr/bin/npm run dev
Restart=on-failure
user=ubuntu

[Install]
WantedBy=multi-user.target
```
This worked fine on my laptop, but when I ported them to the Raspberry Pi, it worked but took almost half an hour to compile. Is there any way to directly read the previously compiled files?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the systemd startup service in the issue and the project's npm run dev entry point. Check the available build and serve instructions for Raspberry Pi deployment, then document whether previously compiled files can be used instead of recompiling; completion means the setup steps and expected behavior are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devops
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.