/Sakura-Pi-Node

🌸 hardware control node for Raspberry Pi

Primary LanguageGoMIT LicenseMIT

Sakura logo

** πŸ”‘πŸŒΈπŸ”‘ Sakura is a simple access control system. **

🌸 Sakura-Pi-Node

Hardware node for RaspberryPi

Project Page Sakura

πŸ’‰ Dependence

How to use

build from source

  1. Installation of Dependencies
apt install -y gcc-arm-linux-gnueabihf libusb-1.0-0-dev libusb-1.0-0-dev:armhf
  1. Build from source
go mod tidy
go build -o Sakura-Pi-Node ./cmd
  1. Run Administrative privileges are required. (for Pasori)
sudo ./main

build by docker compose

Automatically run in privileged mode.

docker compose up -d

License

MIT License