/local-addon-stats

Graphs and resource stats for sites in Local by Flywheel.

Primary LanguageJavaScriptMIT LicenseMIT

Synopsis PRs Welcome

Addon for Local by Flywheel that shows graphs and resource stats for individual local sites.

Local Addon: Stats Screenshot

Installation

Downloading a Release

  1. Download the latest release
  2. Go to Settings » Addons inside Local by Flywheel (2.0.0 or newer) and click on Install Addon
  3. Browse to the downloaded release
  4. Check the checkbox by the Stats addon to enable it
  5. Restart Local

Cloning

Place the repository into the following directory depending on your platform:

  • macOS: ~/Library/Application Support/Local by Flywheel/addons

If you chose to clone instead of downloading a release you will need to use npm to install any production dependencies. This can be done by opening the directory in your shell of choice and typing npm i --production.

Developing

Installing Dev Dependencies

npm install

Folder Structure

All files in /src will be transpiled to /lib using Babel. Anything in /lib will be overwritten.

Transpiling

npm run-script build

Babel, transpiling, ES6, Node.js, what?

Not familiar with some or any of these terms? Here are a few resources to get you up to speed.

Dependencies

  • lodash: Lodash modular utilities.
  • smoothie: Smoothie Charts: smooooooth JavaScript charts for realtime streaming data

Dev Dependencies

License

MIT