Skip to content

Scripts for Flutter's performance lab and dashboard

License

Notifications You must be signed in to change notification settings

devoncarew/dashboard_box

Repository files navigation

Scripts for Flutter's performance lab and dashboard

This repository contains scripts for the job that generates data for the dashboard.

To test this script locally:

  • Get a Mac with a recent Mac OS X.
  • Clone this repository exactly into ~/flutter_dashboard/dashboard_box, so that the run.sh script could be found exactly at ~/flutter_dashboard/dashboard_box/run.sh.
  • For better results, make sure there's nothing else in ~/flutter_dashboard.
  • Complete the Flutter Setup, if you haven't already. Note, however, that this job will install its own copy of Flutter.
  • Install Jekyll.
  • Connect an Android device.
  • Set ANDROID_DEVICE_ID environment variable to the ID of your device as reported by flutter devices command (this is because the ID of the device connected to the box is not the same as yours).
  • Launch run.sh. Or, if you are testing the lanuchd configuration, then launchctl start job.plist, but don't forget to kill the job after testing, otherwise it will spin on your computer forever, draining all kinds of resources (launchctl remove io.flutter.dashboard).

If launchd was able to run the script, you will be able to find the output in /tmp/flutter.dashboard.stdout (standard output) and in /tmp/flutter.dashboard.stderr (standard error).

Locally running the dashboard front-end

To locally test the dashboard front-end, use http://localhost:8181 and serve the main_site directory from this repo.

The OAuth redirects are very specific.

About

Scripts for Flutter's performance lab and dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published