You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having to add privileged label to PRs is annoying and messes up the merge queue. We actually don't need it since we consider write access to the repo privileged access anyway.
NOTE: You can also run our Nix commands in Docker. See the bottom of this comment.
Make sure you have setup the Composable community cache:
(you only need to run it once on your machine)
nix-shell -p cachix --command "cachix use composable-community"
Show all possible apps, shells and packages:
nix flake show "github:ComposableFi/composable/f2036387d58232b9103af1ae78127750a6b85dac --allow-import-from-derivation
Run the Composable node alone:
nix run "github:ComposableFi/composable/f2036387d58232b9103af1ae78127750a6b85dac#composable-node" -L
Spin up a local devnet:
nix run "github:ComposableFi/composable/f2036387d58232b9103af1ae78127750a6b85dac#devnet" -L --option sandbox relaxed --show-trace
Spin up a local XCVM devnet:
nix run "github:ComposableFi/composable/f2036387d58232b9103af1ae78127750a6b85dac#devnet-xcvm" -L
View the docs:
nix run ".#docs-server"
Run this without Nix in Docker.
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/f2036387d58232b9103af1ae78127750a6b85dac#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"
NOTE: You can swap devnet-dali in the command above with any Nix package For more info on how to use Nix, check out our Nix docs
Note that the initial build may take about one hour if it has not been cached by our CI yet. Once it is cached, builds should take about one minute. We currently do not provide build caches for ARM machines such as M1 Macs, but building on ARM is supported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Having to add
privilegedlabel to PRs is annoying and messes up the merge queue. We actually don't need it since we consider write access to the repo privileged access anyway.