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.
- 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.nixfor details.
You can run the tests with cargo test
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