Web application to configure devices running Latte/uOS:
- T-Watch-2020
- M5Stack Core2
Link: https://pgnethun.github.io/Latte-uOS-Connect/
Framework: ReactJS + Material UI 5
Hosting: GitHub Pages
- Install Git and NodeJS
- Clone this repository
- Open project directory in your favorite code editor (for example: Visual Studio Code)
- Open terminal, and go to project directory
- Install pre-requirements:
npm install - 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.
| 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 |
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
