The easiest way to get started is to use srvc-template. Click the “Use template” button on GitHub to create a new repository.
In the new repository, select “Code” > “Codespaces” > “Create codespace on main”. Or if you have VSCode installed with the Dev Containers extension, you may open the repository in a Dev Container.
The new Codespace or container will likely take a few minutes to initialize.
The result will be a full development environment with a sample sr.yaml
file.
Start off by changing user@example.com
in sr.yaml
to your email address.
~/.config/nix/nix.conf
with the contents experimental-features = nix-command flakes
nix profile install github:insilica/rs-srvc
Alternately, srvc may be installed with Homebrew via brew install insilica/srvc/srvc
sr.yaml
file. The sr.yaml from srvc-template is a good starting point.Start off by changing user@example.com
in sr.yaml
to your email address.