Skip to content

Latest commit

 

History

History
executable file
·
58 lines (43 loc) · 2.68 KB

Readme.md

File metadata and controls

executable file
·
58 lines (43 loc) · 2.68 KB

PixManager for Local by Flywheel

Thanks to Jeff from Delicious Brains for his inspirational project. Now I have fireworks in my brain, I think about controlling the Local WordPress installations with this interface. Hard points:

  • Database manageable backups
  • Plugin administration
  • Options management
  • Transients Management
  • Other things supported by wp-cli or wp-rest API

Quick Start

  1. Run npm install
  2. Run initial build: npm run-script build
  3. Link into Local's addon directory: ln -s "$(pwd)" ~/Library/Application Support/Local by Flywheel/addons
  4. Restart Local and activate addon from Settings > Addons

Developing

  • To automatically transpile your JS while developing, just start watch task: npm run-script watch.
  • The only thing this starter addon currently does is open dev tools in Local and add a reload() function to the window object, type reload() into the dev tools console after you've saved/transpiled to see your changes.

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 or npm run-script watch to transpile when source files are saved

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.

Dev Dependencies

Resorces

License

MIT