Skip to content

points-of-view/circles

Repository files navigation

Circles

Setup

It's recommended to use nix when working on circles, this will ensure that you have all the necessary dependencies and that we all use the same version of dependencies.

Refer to the the nixos documentation setup nix.

Once you have nix installed, you can run nix develop or use direnv to load the devshell.

Local development

  • Install dependencies with yarn install
  • Run the app with yarn tauri dev

If you don't want to (or can't) use an actual RFID reader, set an environment variable MOCK_RFID_READER=1 to skip this process.

Note

When not using Nix to manage your environment:

  • Make sure you have rust, node, java, and the diesel-cli installed.
  • Make sure you have the necessary environment variables set. See flake.nix for details.

Tests

You can run the tests with cargo test

Production setup

Raspberry Pi 5 (Raspberry Pi OS/Debian Bookworm)

To run the circles application, you should:

  • Set the Ethernet ipv4 settings from DHCP to Local-Link
  • In file manager 'Preferences' > 'General' > Uncheck 'Don't ask options on launch executable file'
  • Install the package through an AppImage Launcher (example)
  • Put an icon on the Desktop

Circles © 2024 by Tree company, Levuur, DYPALL, Danes je nov dan, stad Sint-Niklaas is licensed under CC BY 4.0

About

Circles is an interactive phygital tool. This repository contains the front-end application developed on the Tauri framework to interface with an RFID Reader.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors