Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo of elastic on web #96

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

TheTripleV
Copy link

@TheTripleV TheTripleV commented Sep 15, 2024

Would be useful for chromebooks (or in case you forgot to install on your spare laptop)

Deployment options:

  • Static Hosting on the rio via a vendordep that hosts a url
  • Host it on the web too on an http only server (demo mode basically). Students can load the site then switch wifi networks to the robot.

Copy link

codecov bot commented Sep 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.92%. Comparing base (356c0bb) to head (0c79927).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
- Coverage   63.93%   63.92%   -0.02%     
==========================================
  Files          77       77              
  Lines        7983     7986       +3     
==========================================
+ Hits         5104     5105       +1     
- Misses       2879     2881       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheTripleV
Copy link
Author

TheTripleV commented Sep 17, 2024

I probably won't be poking at this for a while so

Status report:

Todo:

  • Fix weird timestamp behavior
  • Create a vendordep that includes the output of build/web
  • Host a fileserver in the vendordep to expose a port+path for elastic (maybe Add a simple File Server to wpiutil wpilibsuite/allwpilib#2518)
  • Add build folder back to .gitignore and make github pages building into a Github Action

Tobuild:

  • In debug (no minification): Use the flutter extension in vscode or flutter run -d chrome
  • In prod (minification): Build flutter build web, Have a webserver running at repo root python -m http.server, Go to build/web/index.html in the browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants