Create skeleton of stack for running nitro nodes (#1)

* Add initial stack for running go-nitro

* Fix clone required repo command

* Add step for cloning required repo

* Build docker images for nitro protocol and nitro rpc client

* Add todos in go-nitro and nitro-contracts container

* Add todos in go-nitro readme

* Replace top level version with name in docker compose files

---------

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
shreerang6921
2024-07-17 14:59:46 +05:30
committed by GitHub
co-authored by Neeraj
parent 6908ffa27b
commit e25a412c86
13 changed files with 287 additions and 0 deletions
@@ -0,0 +1,19 @@
# Go-nitro
## Clone the stack repo
<!-- TODO: Test clone stack repo command -->
## Clone required repositories
<!-- TODO: Update path to nitro stack -->
```bash
laconic-so --stack /<path-to-nitro-stack>/nitro-stack/stack-orchestrator/stack/go-nitro setup-repositories
```
Note: Replace path to nitro stack with actual path
## Build the container image
<!-- TODO: Update path to nitro stack -->
```bash
laconic-so --stack /<path-to-nitro-stack>/nitro-stack/stack-orchestrator/stack/go-nitro build-containers
```
@@ -0,0 +1,14 @@
version: "1.0"
name: go-nitro
description: "Stack to demonstrate payments between various services"
repos:
- github.com/cerc-io/go-nitro
containers:
- cerc/nitro-contracts
- cerc/nitro-rpc-client
# TODO: Uncomment after building container image
# - cerc/go-nitro
pods:
- nitro-contracts
- go-nitro
- nitro-rpc-client