Skip to content

PGNetHun/Latte-uOS-Connect

Repository files navigation

pages-build-deployment

Latte/uOS Connect

MicroPython Logo

Web application to configure devices running Latte/uOS:

  • T-Watch-2020
  • M5Stack Core2

Link: https://pgnethun.github.io/Latte-uOS-Connect/

Technical details

Framework: ReactJS + Material UI 5
Hosting: GitHub Pages

Local development setup

  1. Install Git and NodeJS
  2. Clone this repository
  3. Open project directory in your favorite code editor (for example: Visual Studio Code)
  4. Open terminal, and go to project directory
  5. Install pre-requirements: npm install
  6. Start site: npm start

The site is started and opened in browser.
Any change in source code triggers a rebuild, and site is reloaded in browser.

Available Scripts

Command Description
npm install Install all dependency from package.json file
npm start Starts app and opens it in browser
npm test Launches the test runner in the interactive watch mode
npm run build Builds the app for production to the build folder
npm run deploy Deploy React app to GitHub Pages

Hosting in GitHub Pages

Repository is configured to automatically deploy to GitHub Pages.
The build output from which the deployment is done is stored in gh-pages branch.

Example of hosting a React app in GitHub Pages: https://github.com/gitname/react-gh-pages

Manifest & favicon generator

Tool: https://www.favicon-generator.org/

About

Web UI for Latte/uOS system to configure device

Topics

Resources

Stars

Watchers

Forks