/home-hub

Primary LanguageTypeScript

HomeHub

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Development server

Run nx serve home-hub for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.

Deploy

  • Run npm run build
  • Run scp dist.zip package.json package-lock.json pi@<ip>:home-hub
  • Enter password
  • SSH into pi
  • Run cd home-hub && rm -rf dist && npm i && unzip dist.zip && rm -rf dist.zip && sudo reboot