Skip to content

Repository for the Api responsible for controlling the LED strip within the LumeHub ecosystem.

License

Notifications You must be signed in to change notification settings

LumeHub/LumeHub.Server

Repository files navigation

LumeHub.Server

Development

To start developing with the nix development environment, run the following command:

nix develop

Alternatively, you can allow direnv to manage the environment for you:

direnv allow

Building

To build the project, run the following command:

dotnet build

To build the nix package, run the following command:

nix build

Running

To run the project, run the following command:

dotnet run --project src/LumeHub.Server

To run the nix package, run the following command:

cd src/LumeHub.Server
nix run

Testing

To run the tests, run the following command:

dotnet test

To run the nix tests, run the following command:

nix flake check

Updating Dependencies

To update the nuget dependencies, needed for the nix package, run the following command:

nix build .#default.passthru.fetch-deps && ./result

And then copy the output to nix/deps.nix.

About

Repository for the Api responsible for controlling the LED strip within the LumeHub ecosystem.

Resources

License

Stars

Watchers

Forks

Packages

No packages published