Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.09 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.09 KB

Winderoo Frontend

Setup

  1. Get NodeJS
  2. Get the Angular CLI
  3. Navigate to the following directory, src/angular/osww-frontend/, in your terminal / shell.
  4. Run npm i
  5. Proceed to Development server

Development server

  1. Run npm run start from this location (src/angular/osww-frontend/)
  2. Navigate to http://localhost:4200/ in your browser. You'll see the application.
    • ⚠️ You'll need Winderoo's API running (on hardware, on your network) to interact with.
    • See this README for instructions on how to flash the API to your hardware.
  3. Happy hacking

Build & Deploy

  1. Run npm run build-arduino to build the project.
    • This scrip generates build artifacts in the dist/ directory.
    • These artifacts will then be compressed with gzip and copied to the ../../../data/ directory.
  2. Flash the file system image to your hardware - Step 6; PlatformIO > Upload Filesystem Image.