Skip to content

kalikaruto/smart-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart-Watch Deployment

This guide provides instructions for deploying the Smart-Watch application on a Raspberry Pi.

Prerequisites

  • A Raspberry Pi with Raspberry Pi OS (or any other Debian-based Linux distribution).
  • git and python3 installed.

Installation

  1. Clone the repository:

    git clone https://github.com/kalikaruto/smart-watch.git smart-watch
    cd smart-watch
  2. Make the installation script executable:

    chmod +x v2/deployment/install.sh
  3. Run the installation script:

    ./v2/deployment/install.sh
  4. Follow the on-screen instructions:

    • The script will create a Python virtual environment, install dependencies, and set up the .env file.
    • You will be prompted to edit the .env file to add your Telegram API credentials.
    • The script will then set up a systemd service to run the application automatically on boot.
    • Finally, it will launch the Camera Manager for you to add your cameras.

Managing the Service

Once installed, you can manage the Smart-Watch service using the following commands:

  • Start the service:

    sudo systemctl start smart-watch
  • Stop the service:

    sudo systemctl stop smart-watch
  • Check the status and view logs:

    sudo systemctl status smart-watch
  • View live logs:

    journalctl -fu smart-watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors