Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dev): add nix-based dev-env #4726

Merged
merged 4 commits into from
Jul 22, 2024
Merged

feat(dev): add nix-based dev-env #4726

merged 4 commits into from
Jul 22, 2024

Commits on Jul 18, 2024

  1. feat(dev): add nix-based dev-env

    Trying to make it easier to spin up a fullnode on localhost. The team
    has been focused on writing tooling, like pindexer, and the manual steps
    to munge CometBFT configs and setup a localhost postgres database are
    not awesome. In addition to pd/cometbft spin-up, the dev-env includes:
    
      * metrics
      * postgres
      * pindexer
    
    Not yet including grpcui, because the latest published version doesn't
    support the new server reflection API. Will tack that on in a dedicated
    follow-up.
    
    The dev-env is strongly opinionated and uses nix [0] to manage
    cross-platform, polyglot dependencies. There's other great work in our
    ecosystem, e.g. [1], and this early push tries to be consistent with
    that.
    
    Updates the relevant first-run docs. Much more work should be done on
    the developer-focused content in the guide overall, including an
    overhaul of discussing RPC endpoints and web-relevant resources, but
    those changes can land in the future. This PR aims to establish a basis
    for a sane, supported dev-env, providing a pleasant first-run experience
    for newcomers (and existing devs too).
    
    [0] https://nixos.org
    [1] https://github.com/informalsystems/cosmos.nix
    conorsch committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    74792f5 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Fix flake.nix regex

    zbuc committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    86cba23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe59730 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    e5005e6 View commit details
    Browse the repository at this point in the history