develop #4

Merged
TobaOjo merged 4 commits from develop into main 2025-11-11 13:58:46 +00:00
3 changed files with 110 additions and 70 deletions
Showing only changes of commit 5014c97b4d - Show all commits

View File

@@ -1,4 +1,4 @@
# Mav Mobile Ui
# Mav Mobile UI
This is a React-based web application built with Vite (react and typescript).
@@ -68,13 +68,13 @@ To build for production:
yarn build
```
Navigate to your Mav-Mobile-UI folder
Select the Dist folder
Compress to (ZIP)
Log into box on Moba using Session > SSH and putting IP in Remote Host.
Creds are mav:mav
Drag and drop dist.zip into file explorer menu on left hand side (has to be named dist.zip exactly).
Run command
- Navigate to your Mav-Mobile-UI folder
- Select the Dist folder
- Compress to (ZIP)
- Log into box on Moba using Session > SSH and putting IP in Remote Host.
- Creds are mav:mav
- Drag and drop dist.zip into file explorer menu on left hand side (has to be named dist.zip exactly).
- Run command
```bash
sudo ./integrate-web-ui.sh
@@ -85,3 +85,23 @@ Run
```bash
sudo nano web-static/index.html
```
- add the following between the lines </body> & </html>
```js
<foot>
<script>
if (window.location.pathname !== "/Mobile") {
window.location.replace(window.location.origin + "/Mobile");
}
</script>
</foot>
```
- Run
```bash
sudo reboot
```
It should come back up all working