Skip to content

[Feature]: A guided UI when you first visit localhost:8080 with Preloaded PiTrac Image #167

@jeshernandez

Description

@jeshernandez

Feature Area

Pre-requirements:

  • Somewhat "working" release. I believe we are there now. If user breaks it, they could always simply re-image with this image version.
  • pitrac_lm would also have to be a package that can be easily updated via apt manager. Users not diving into code would simply apt get update/upgrade

(pre-req 32GB USB Drive) Users have to do this anyways. Instead of using blank Trixie, they'll be installing PiTrac Trixie Image.
Creating an img with pre-installed/slightly configured pitrac/pitrac-ui. Will upload to Google Drive/AWS S3.
1. User opens browser preset home page localhost:8080 to start guided installation, configuration, calibration process.
2. Done.

Post-MVP - A guided UI when you first visit localhost:8080 user will see an installation/pre-validation guided path. If validations of hardware pass, installation starts, then calibration, etc. Then normal UI that we see today will be the normal page. No need for git cloning, build.sh dev, etc.

Proposed Solution

Creating the image.

  1. Custom guided UI TBD
  2. Creating image is straightforward, using compressed image would be ideal gzip -dc rpios_custom.img.gz | sudo dd of=/dev/nvme0n1 bs=16M status=progress conv=fsync. Validation needed to find out uncompressed size. Uncompressed installation is easier.

Once user boots into custom USB image.

  1. lsblk -o NAME,SIZE,MOUNTPOINT (identify disks)
  2. sudo wipefs -a /dev/nvme0n1 sudo sgdisk --zap-all /dev/nvme0n1 Make sure drive is wiped out.
  3. sudo dd if=rpios_custom.img of=/dev/nvme0n1 bs=16M status=progress conv=fsync Install.
  4. lsblk verify partition table.
  5. Remove usb disk, reboot.

Alternative Solutions

No response

Priority/Impact

Minimal - Nice to Have

User Type

None

Estimated Complexity

None

Use Cases

No response

Simulator Compatibility

No response

Technical Details

No response

New Data Requirements

No response

Hardware Requirements

None

UI/UX Mockups

No response

Success Criteria

No response

Contribution Interest

None

References

No response

Discord Contact

Yes, I'm active on the PiTrac Discord

Discord Username

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions