Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.08 KB

Development.md

File metadata and controls

23 lines (13 loc) · 1.08 KB

🛠 Development

  • Install Node.js and Yarn.
  • Download or clone the repository and enter it in a terminal.
  • Run yarn to install development dependencies.

Scripts

yarn build

Compiles the Sass source stylesheets in /sass into a minified CSS file.

yarn watch

Runs yarn build continuously as changes are detected until exited.

yarn start or yarn serve

You must first set the ORGANIZR_URL environment variable in .env to your Organizr instance's URL for testing. Then yarn start runs yarn watch and launches a new Browsersync window with the Plex Theme css injected into your Organizr instance every time it is recompiled, so you can see your changes instantly.

yarn imagemin

Losslessly optimizes all .svg, .png, .jpg, and .gif images in the repository with imagemin. This will take some time.