Skip to content

VilSoft/HomeAuto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Kai Kassie House

A landing page for the pi server

  • Displays the local 7 day forecast using the weather.gov weather api
  • Displays our Masters times
  • Shows current Pokemon go events
  • Can be built as an RPM to install to RPM based Linux distributions
  • Can also be build as a Debian package to install on debian based distributions
  • RPMs and Deb packages will be built as a Linux Service and will run on boot and restart on failure
  • Uses Docker and CentOS to build the RPM
  • Uses Docker and Ubuntu to build the .deb
  • The /tests directory contains a test index.ts file for testing the building, installing, running and unsinstalling the RPM and Debian packages as a service

Building

  • To build the application for local use:
    • Clone the application
    • Run npm i to install required dependencies
  • To build an RPM to install on a Linux distribution:
    • Complete the steps listed above
    • Run the build.bat file
    • Once the RPM is build, it should be located in the /shared directory
  • To build a Debain package:
    • Complete steps above to install dependencies
    • Run the buildDebian.bat file
    • Once the Deb is built, it should be located in the /shared directory

Installing

  • To install the RPM:
    • Navigate to the directory containing the RPM package
    • Open a terminal
    • Run sudo dnf install kk-house-0.0.1-1.el8.noarch.rpm
  • The above step should install the service as well as the required dependencies
  • To confirm the service is running:
    • Run systemctl status kk-house

Running

  • To run the aplication in dev mode:
    • Run npm run dev to run in dev mode or,
    • Run ts-node index.ts

About

Home automation project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages